Mark Illusion when it wears off (#914)

This commit is contained in:
urkerab
2017-05-08 09:48:07 +01:00
committed by Guangcong Luo
parent f2179a43d2
commit e6843f09af

View File

@@ -5105,6 +5105,7 @@ var Battle = (function () {
case 'illusion':
this.resultAnim(poke, 'Illusion ended', 'bad');
actions += "" + poke.getName() + "'s illusion wore off!";
poke.markAbility('Illusion');
break;
case 'slowstart':
this.resultAnim(poke, 'Slow Start ended', 'good');