Update src/field/arena.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
innerthunder 2024-08-14 23:10:02 -07:00 committed by GitHub
parent 2884c8b912
commit 6503aa9303
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 5 deletions

View File

@ -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 {