fixed torment lapse condition (#4440)
Co-authored-by: frutescens <info@laptop>
This commit is contained in:
parent
a6a61b2984
commit
8b9dc79e20
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -2477,7 +2477,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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue