Temporarily disable passive abilities

pull/88/head
Flashfyre 2024-04-11 09:30:40 -04:00
parent 31050a5181
commit fbb901e591
1 changed files with 1 additions and 1 deletions

View File

@ -725,7 +725,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
} }
canApplyAbility(passive: boolean = false): boolean { canApplyAbility(passive: boolean = false): boolean {
if (passive && !this.isBoss()) if (passive)
return false; return false;
const ability = (!passive ? this.getAbility() : this.getPassiveAbility()); const ability = (!passive ? this.getAbility() : this.getPassiveAbility());
if (ability.isIgnorable && this.scene.arena.ignoreAbilities) if (ability.isIgnorable && this.scene.arena.ignoreAbilities)