mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
parent
01f764f2ec
commit
e7eb12e686
|
|
@ -406,6 +406,7 @@ class BattleTextParser {
|
|||
return line1 + template;
|
||||
}
|
||||
if (kwArgs.from) {
|
||||
line1 = this.maybeAbility(kwArgs.from, pokemon) + line1;
|
||||
const template = this.template('changeAbility', kwArgs.from);
|
||||
return line1 + template.replace('[POKEMON]', this.pokemon(pokemon)).replace('[ABILITY]', this.effect(ability)).replace('[SOURCE]', this.pokemon(kwArgs.of));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user