added protected to updateHitReceivedCount()

This commit is contained in:
geeil-han 2025-01-18 15:59:33 +01:00
parent 4f0f4ce2d5
commit 06d0057160
1 changed files with 1 additions and 1 deletions

View File

@ -4015,7 +4015,7 @@ export class RageFistPowerAttr extends VariablePowerAttr {
* @param hitCount The number of received hits this battle * @param hitCount The number of received hits this battle
* @param previousHitCount The number of received hits this battle since last time Rage Fist was used * @param previousHitCount The number of received hits this battle since last time Rage Fist was used
*/ */
updateHitReceivedCount(user: Pokemon, hitCount: number, previousHitCount: number): void { protected updateHitReceivedCount(user: Pokemon, hitCount: number, previousHitCount: number): void {
user.customPokemonData.hitsRecCount += (hitCount - previousHitCount); user.customPokemonData.hitsRecCount += (hitCount - previousHitCount);
user.battleData.prevHitCount = hitCount; user.battleData.prevHitCount = hitCount;
} }