Fix Trace activation message

Fixes #1181
This commit is contained in:
Guangcong Luo 2018-11-28 21:56:22 -05:00
parent 01f764f2ec
commit e7eb12e686

View File

@ -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));
}