mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-21 06:49:35 +02:00
fix tsdocs
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
bb87a9a92b
commit
d57c800a88
@ -4814,9 +4814,9 @@ class ForceSwitchOutHelper {
|
|||||||
/**
|
/**
|
||||||
* Determines if a Pokémon can switch out based on its status, the opponent's status, and battle conditions.
|
* Determines if a Pokémon can switch out based on its status, the opponent's status, and battle conditions.
|
||||||
*
|
*
|
||||||
* @param {Pokemon} pokemon The Pokémon attempting to switch out.
|
* @param pokemon The Pokémon attempting to switch out.
|
||||||
* @param {Pokemon} opponent The opponent Pokémon.
|
* @param opponent The opponent Pokémon.
|
||||||
* @returns {boolean} True if the switch-out condition is met, false otherwise.
|
* @returns `true` if the switch-out condition is met
|
||||||
*/
|
*/
|
||||||
getSwitchOutCondition(pokemon: Pokemon, opponent: Pokemon): boolean {
|
getSwitchOutCondition(pokemon: Pokemon, opponent: Pokemon): boolean {
|
||||||
const switchOutTarget = pokemon;
|
const switchOutTarget = pokemon;
|
||||||
|
Loading…
Reference in New Issue
Block a user