fixed torment lapse condition

This commit is contained in:
frutescens 2024-09-25 16:11:20 -07:00
parent 70c6edfaed
commit 30ddf7261c
2 changed files with 2 additions and 2 deletions

View File

@ -933,7 +933,7 @@ class ImprisonTag extends ArenaTrapTag {
} }
/** /**
* Helper function that retrieves the Pokemon effected * Helper function that retrieves the Pokemon affected
* @param {BattleScene} scene medium to retrieve the involved Pokemon * @param {BattleScene} scene medium to retrieve the involved Pokemon
* @returns list of PlayerPokemon or EnemyPokemon on the field * @returns list of PlayerPokemon or EnemyPokemon on the field
*/ */

View File

@ -2468,7 +2468,7 @@ export class TormentTag extends MoveRestrictionBattlerTag {
* @returns `true` if still present | `false` if not * @returns `true` if still present | `false` if not
*/ */
override lapse(pokemon: Pokemon, _tagType: BattlerTagLapseType): boolean { override lapse(pokemon: Pokemon, _tagType: BattlerTagLapseType): boolean {
return !pokemon.isActive(true); return pokemon.isActive(true);
} }
/** /**