adjusted initial values of ConditionalHealAttr's optional params

This commit is contained in:
Luc 2024-04-25 01:23:43 -04:00
parent 241f0d898a
commit 3dc8cc7f55

View File

@ -1951,7 +1951,7 @@ export class ConditionalHealAttr extends VariablePowerAttr {
private callback: (user: Pokemon, target: Pokemon, move: Move) => boolean;
private healRatio: number;
constructor(callback: (user: Pokemon, target: Pokemon, move: Move) => boolean, healRatio?: number) {
constructor(callback: (user: Pokemon, target: Pokemon, move: Move) => boolean, healRatio: number = 0.5) {
super();
this.callback = callback;
this.healRatio = healRatio;