Update src/field/arena.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
2884c8b912
commit
6503aa9303
|
@ -539,11 +539,7 @@ export class Arena {
|
||||||
|
|
||||||
setIgnoreAbilities(ignoreAbilities: boolean, ignoreAbilitySource: BattlerIndex | null = null): void {
|
setIgnoreAbilities(ignoreAbilities: boolean, ignoreAbilitySource: BattlerIndex | null = null): void {
|
||||||
this.ignoreAbilities = ignoreAbilities;
|
this.ignoreAbilities = ignoreAbilities;
|
||||||
if (ignoreAbilities) {
|
this.ignoreAbilitySource = ignoreAbilities ? ignoreAbilitySource : null;
|
||||||
this.ignoreAbilitySource = ignoreAbilitySource;
|
|
||||||
} else {
|
|
||||||
this.ignoreAbilitySource = null;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
applyTagsForSide(tagType: ArenaTagType | Constructor<ArenaTag>, side: ArenaTagSide, ...args: unknown[]): void {
|
applyTagsForSide(tagType: ArenaTagType | Constructor<ArenaTag>, side: ArenaTagSide, ...args: unknown[]): void {
|
||||||
|
|
Loading…
Reference in New Issue