fixed torment lapse condition (#4440)

Co-authored-by: frutescens <info@laptop>
This commit is contained in:
Mumble 2024-09-25 18:34:16 -07:00 committed by GitHub
parent a6a61b2984
commit 8b9dc79e20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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
* @returns list of PlayerPokemon or EnemyPokemon on the field
*/

View File

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