mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
Gen 1: Fix sleep cure priority (#8819)
This commit is contained in:
parent
3a18259674
commit
235c67d12d
|
|
@ -78,6 +78,7 @@ export const Conditions: {[id: string]: ModdedConditionData} = {
|
|||
pokemon.lastMove = null;
|
||||
return false;
|
||||
},
|
||||
onAfterMoveSelfPriority: 3,
|
||||
onAfterMoveSelf(pokemon) {
|
||||
if (pokemon.statusState.time <= 0) pokemon.cureStatus();
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user