mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 23:42:18 +02:00
adjusted initial values of ConditionalHealAttr's optional params
This commit is contained in:
parent
241f0d898a
commit
3dc8cc7f55
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user