mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-05 21:17:43 -05:00
Fix Forewarn messages
This commit is contained in:
parent
8f063af263
commit
4743527d93
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user