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
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
|
* recovered based on the damage dealt in the current turn. The recovery is multiplied by the
|
||||||
* Shell Bell's modifier (if any).
|
* Shell Bell's modifier (if any).
|
||||||
*
|
*
|
||||||
* @param {Pokemon} pokemon - The Pokémon whose Shell Bell recovery is being calculated.
|
* @param pokemon - The Pokémon whose Shell Bell recovery is being calculated.
|
||||||
* @returns {number} The amount of health recovered by Shell Bell.
|
* @returns The amount of health recovered by Shell Bell.
|
||||||
*/
|
*/
|
||||||
function calculateShellBellRecovery(pokemon: Pokemon): number {
|
function calculateShellBellRecovery(pokemon: Pokemon): number {
|
||||||
const shellBellModifier = pokemon.getHeldItems().find(m => m instanceof HitHealModifier);
|
const shellBellModifier = pokemon.getHeldItems().find(m => m instanceof HitHealModifier);
|
||||||
|
Loading…
Reference in New Issue
Block a user