mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-17 22:40:59 +00:00
[Bug] Fix healing modifying the HP stat instead of the Pokemon's HP (#3406)
This commit is contained in:
parent
b0ab207f84
commit
3698f13f49
@ -1650,7 +1650,7 @@ export class HitHealAttr extends MoveEffectAttr {
|
||||
super(true, MoveEffectTrigger.HIT);
|
||||
|
||||
this.healRatio = healRatio!; // TODO: is this bang correct?
|
||||
this.healStat = healStat!; // TODO: is this bang correct?
|
||||
this.healStat = healStat ?? null;
|
||||
}
|
||||
/**
|
||||
* Heals the user the determined amount and possibly displays a message about regaining health.
|
||||
|
Loading…
x
Reference in New Issue
Block a user