mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
[Ability] Add ability bar popup for Parental Bond (#2818)
This commit is contained in:
parent
e8036b237c
commit
9d28fc454d
@ -1296,6 +1296,7 @@ export class AddSecondStrikeAbAttr extends PreAttackAbAttr {
|
|||||||
const multiplier = args[2] as Utils.NumberHolder;
|
const multiplier = args[2] as Utils.NumberHolder;
|
||||||
|
|
||||||
if (this.canApplyPreAttack(move, numTargets)) {
|
if (this.canApplyPreAttack(move, numTargets)) {
|
||||||
|
this.showAbility = !!hitCount?.value;
|
||||||
if (!!hitCount?.value) {
|
if (!!hitCount?.value) {
|
||||||
hitCount.value *= 2;
|
hitCount.value *= 2;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user