mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-22 01:55:56 -05:00
Rename -restoreboost -> -clearnegativeboost
This commit is contained in:
parent
d88a1770ca
commit
9aba6a3ce6
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user