Add messages for Suction Cups and Ingrain.

This commit is contained in:
Marty-D 2013-02-11 17:22:53 -05:00
parent 5945d5d0e4
commit 47f678bb50
2 changed files with 9 additions and 2 deletions

View File

@ -2205,7 +2205,11 @@ exports.BattleAbilities = {
"suctioncups": {
desc: "This Pokemon cannot be forced out.",
shortDesc: "This Pokemon cannot be forced to switch out by another Pokemon's attack or item.",
onDragOut: false,
onDragOutPriority: 1,
onDragOut: function(pokemon) {
this.add('-activate', pokemon, 'ability: Suction Cups');
return false;
},
id: "suctioncups",
name: "Suction Cups",
rating: 2.5,

View File

@ -6203,7 +6203,10 @@ exports.BattleMovedex = {
pokemon.negateImmunity['Ground'] = true;
pokemon.trapped = true;
},
onDragOut: false
onDragOut: function(pokemon) {
this.add('-activate', pokemon, 'move: Ingrain');
return false;
}
},
secondary: false,
target: "self",