mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-21 17:26:22 +00:00
Temporarily disable passive abilities
This commit is contained in:
parent
31050a5181
commit
fbb901e591
@ -725,7 +725,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
}
|
||||
|
||||
canApplyAbility(passive: boolean = false): boolean {
|
||||
if (passive && !this.isBoss())
|
||||
if (passive)
|
||||
return false;
|
||||
const ability = (!passive ? this.getAbility() : this.getPassiveAbility());
|
||||
if (ability.isIgnorable && this.scene.arena.ignoreAbilities)
|
||||
|
Loading…
x
Reference in New Issue
Block a user