checks for passives as well
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