mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-03 08:10:58 -05:00
Rename -restoreboost -> -clearnegativeboost
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user