mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
fixed -1 bug
This commit is contained in:
parent
0da02a60b5
commit
63d822e5c4
@ -21,7 +21,7 @@ export class CustomPokemonData {
|
|||||||
public hitsRecCount: number | null = null;
|
public hitsRecCount: number | null = null;
|
||||||
|
|
||||||
constructor(data?: CustomPokemonData | Partial<CustomPokemonData>) {
|
constructor(data?: CustomPokemonData | Partial<CustomPokemonData>) {
|
||||||
this.spriteScale = data?.spriteScale ?? 1;
|
this.spriteScale = data?.spriteScale ?? -1;
|
||||||
this.ability = data?.ability ?? -1;
|
this.ability = data?.ability ?? -1;
|
||||||
this.passive = data?.passive ?? -1;
|
this.passive = data?.passive ?? -1;
|
||||||
this.nature = data?.nature ?? -1;
|
this.nature = data?.nature ?? -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user