Trace triggers opponent's ability

This commit is contained in:
Harshvardhan Kalra
2016-04-05 01:36:20 +05:30
committed by Guangcong Luo
parent 8496d25b16
commit 621f4e9c9b

View File

@@ -4377,6 +4377,7 @@ var Battle = (function () {
this.animationDelay = 500;
this.resultAnim(poke, ability.name, 'ability');
this.message('', "<small>[" + poke.getName(true) + "'s Trace!]</small>");
ofpoke.markAbility(ability.name);
actions += '' + poke.getName() + ' traced ' + ofpoke.getLowerName() + '\'s ' + ability.name + '!';
break;
case 'roleplay':