mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 07:52:17 +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 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
Block a user