adjusted initial values of ConditionalHealAttr's optional params
parent
241f0d898a
commit
3dc8cc7f55
|
|
@ -1951,7 +1951,7 @@ export class ConditionalHealAttr extends VariablePowerAttr {
|
||||||
private callback: (user: Pokemon, target: Pokemon, move: Move) => boolean;
|
private callback: (user: Pokemon, target: Pokemon, move: Move) => boolean;
|
||||||
private healRatio: number;
|
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();
|
super();
|
||||||
this.callback = callback;
|
this.callback = callback;
|
||||||
this.healRatio = healRatio;
|
this.healRatio = healRatio;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue