added protected to updateHitReceivedCount()
This commit is contained in:
parent
4f0f4ce2d5
commit
06d0057160
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue