mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 14:29:28 +02:00
make getSwitchOutCondition public
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
6ef3003528
commit
bad0494278
@ -4818,7 +4818,7 @@ class ForceSwitchOutHelper {
|
|||||||
* @param opponent The opponent Pokémon.
|
* @param opponent The opponent Pokémon.
|
||||||
* @returns `true` if the switch-out condition is met
|
* @returns `true` if the switch-out condition is met
|
||||||
*/
|
*/
|
||||||
getSwitchOutCondition(pokemon: Pokemon, opponent: Pokemon): boolean {
|
public getSwitchOutCondition(pokemon: Pokemon, opponent: Pokemon): boolean {
|
||||||
const switchOutTarget = pokemon;
|
const switchOutTarget = pokemon;
|
||||||
const player = switchOutTarget instanceof PlayerPokemon;
|
const player = switchOutTarget instanceof PlayerPokemon;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user