fix tsdocs

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
muscode 2024-11-01 10:20:19 -06:00 committed by GitHub
parent c6e758ee78
commit ce0305cf85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);