mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
Use undefined for mod field removals
This commit is contained in:
parent
7b4b2dbcb6
commit
9a014be685
|
|
@ -227,7 +227,7 @@ export const Conditions: import('../../../sim/dex-conditions').ModdedConditionDa
|
|||
},
|
||||
// if Protect is used and the user gets paralyzed, the stall counter doesn't change
|
||||
onBeforeMovePriority: 300,
|
||||
onMoveAborted() {},
|
||||
onMoveAborted: undefined, // no inherit
|
||||
onStallMove(pokemon) {
|
||||
const counter = Math.floor(this.effectState.counter) || 127;
|
||||
this.debug(`Success chance: ${Math.round(counter * 1000 / 255) / 10}% (${counter}/255)`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user