Update src/data/ability.ts

Co-authored-by: Samuel H <flashfireex@gmail.com>
This commit is contained in:
takeyourt1me 2024-05-03 14:33:11 -07:00 committed by GitHub
parent 398c1584ef
commit 39392ace32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -901,8 +901,9 @@ export class PreAttackChangeType extends PreAttackAbAttr{
} }
} }
return false; return false;
} }
} }
export class VariableMoveTypeAbAttr extends AbAttr { export class VariableMoveTypeAbAttr extends AbAttr {
apply(pokemon: Pokemon, passive: boolean, cancelled: Utils.BooleanHolder, args: any[]): boolean { apply(pokemon: Pokemon, passive: boolean, cancelled: Utils.BooleanHolder, args: any[]): boolean {
//const power = args[0] as Utils.IntegerHolder; //const power = args[0] as Utils.IntegerHolder;