Update src/data/move.ts

Removed default value in constructor due to it having become redundant

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Esca 2025-01-31 00:42:37 +01:00 committed by Sirz Benjie
parent 9848fd6e81
commit 4c2b621510
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -1869,7 +1869,7 @@ export class AddSubstituteAttr extends MoveEffectAttr {
/** Whether the damage taken should be rounded up (Shed Tail rounds up) */ /** Whether the damage taken should be rounded up (Shed Tail rounds up) */
private roundUp: boolean; private roundUp: boolean;
constructor(hpCost: number = 0.25, roundUp: boolean) { constructor(hpCost: number, roundUp: boolean) {
super(true); super(true);
this.hpCost = hpCost; this.hpCost = hpCost;