mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-11 02:42:19 +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.updateInfo(true);
|
||||
} else {
|
||||
if (pokemon.getAbility().id !== this.abilityCondition) {
|
||||
if (!pokemon.hasAbility(this.abilityCondition)) {
|
||||
pokemon.resetStatus();
|
||||
pokemon.updateInfo(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user