mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-11 19:02:16 +02:00
checks for passives as well
This commit is contained in:
parent
ee759e0b44
commit
0284e132ab
@ -4561,7 +4561,7 @@ export class PartyStatusCurePhase extends BattlePhase {
|
|||||||
pokemon.resetStatus(false);
|
pokemon.resetStatus(false);
|
||||||
pokemon.updateInfo(true);
|
pokemon.updateInfo(true);
|
||||||
} else {
|
} else {
|
||||||
if (pokemon.getAbility().id !== this.abilityCondition) {
|
if (!pokemon.hasAbility(this.abilityCondition)) {
|
||||||
pokemon.resetStatus();
|
pokemon.resetStatus();
|
||||||
pokemon.updateInfo(true);
|
pokemon.updateInfo(true);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user