mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-20 14:29:28 +02:00
fix tsdocs
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
c6e758ee78
commit
ce0305cf85
@ -4864,8 +4864,8 @@ class ForceSwitchOutHelper {
|
||||
* recovered based on the damage dealt in the current turn. The recovery is multiplied by the
|
||||
* Shell Bell's modifier (if any).
|
||||
*
|
||||
* @param {Pokemon} pokemon - The Pokémon whose Shell Bell recovery is being calculated.
|
||||
* @returns {number} The amount of health recovered by Shell Bell.
|
||||
* @param pokemon - The Pokémon whose Shell Bell recovery is being calculated.
|
||||
* @returns The amount of health recovered by Shell Bell.
|
||||
*/
|
||||
function calculateShellBellRecovery(pokemon: Pokemon): number {
|
||||
const shellBellModifier = pokemon.getHeldItems().find(m => m instanceof HitHealModifier);
|
||||
|
Loading…
Reference in New Issue
Block a user