Fix Forewarn messages

This commit is contained in:
Marty-D 2015-08-11 20:48:43 -04:00
parent 8f063af263
commit 4743527d93
2 changed files with 2 additions and 2 deletions

View File

@ -878,7 +878,7 @@ exports.BattleAbilities = {
}
if (!warnMoves.length) return;
var warnMove = warnMoves[this.random(warnMoves.length)];
this.add('-activate', pokemon, 'ability: Forewarn', '[from] ' + warnMove[0], '[of] ' + warnMove[1]);
this.add('-activate', pokemon, 'ability: Forewarn', warnMove[0], '[of] ' + warnMove[1]);
},
id: "forewarn",
name: "Forewarn",

View File

@ -48,7 +48,7 @@ exports.BattleAbilities = {
}
if (!warnMoves.length) return;
var warnMove = warnMoves[this.random(warnMoves.length)];
this.add('-activate', pokemon, 'ability: Forewarn', '[from] ' + warnMove);
this.add('-activate', pokemon, 'ability: Forewarn', warnMove);
}
},
"leafguard": {