mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-29 20:27:18 +00:00
[Bug] Default 0.5 heal ratio in HitHealAttr
(#3414)
This commit is contained in:
parent
597d8f566a
commit
94c1c923e4
@ -1686,7 +1686,7 @@ export class HitHealAttr extends MoveEffectAttr {
|
||||
constructor(healRatio?: number | null, healStat?: Stat) {
|
||||
super(true, MoveEffectTrigger.HIT);
|
||||
|
||||
this.healRatio = healRatio!; // TODO: is this bang correct?
|
||||
this.healRatio = healRatio ?? 0.5;
|
||||
this.healStat = healStat ?? null;
|
||||
}
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user