[Bug] Fix Parental Bond multiplier sometimes applying during first strike (#2653)

This commit is contained in:
innerthunder 2024-06-26 22:59:57 -07:00 committed by GitHub
parent 23a1c461a9
commit f9d8bd6e7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1300,7 +1300,7 @@ export class AddSecondStrikeAbAttr extends PreAttackAbAttr {
hitCount.value *= 2; hitCount.value *= 2;
} }
if (!!multiplier?.value && pokemon.turnData.hitsLeft % 2 === 1) { if (!!multiplier?.value && pokemon.turnData.hitsLeft % 2 === 1 && pokemon.turnData.hitsLeft !== pokemon.turnData.hitCount) {
multiplier.value *= this.damageMultiplier; multiplier.value *= this.damageMultiplier;
} }
return true; return true;