[Ability] Add ability bar popup for Parental Bond (#2818)

This commit is contained in:
innerthunder 2024-07-05 15:52:58 -07:00 committed by GitHub
parent e8036b237c
commit 9d28fc454d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -1296,6 +1296,7 @@ export class AddSecondStrikeAbAttr extends PreAttackAbAttr {
const multiplier = args[2] as Utils.NumberHolder;
if (this.canApplyPreAttack(move, numTargets)) {
this.showAbility = !!hitCount?.value;
if (!!hitCount?.value) {
hitCount.value *= 2;
}