Use undefined for mod field removals

This commit is contained in:
andrebastosdias 2026-03-26 10:41:52 +00:00
parent 7b4b2dbcb6
commit 9a014be685

View File

@ -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)`);