Rename -restoreboost -> -clearnegativeboost

This commit is contained in:
Guangcong Luo 2016-11-19 14:40:17 -05:00
parent d88a1770ca
commit 9aba6a3ce6

View File

@ -3820,7 +3820,7 @@ var Battle = (function () {
// do nothing
}
break;
case '-restoreboost':
case '-clearnegativeboost':
var poke = this.getPokemon(args[1]);
for (i in poke.boosts) {
if (poke.boosts[i] < 0) delete poke.boosts[i];