mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-21 07:42:25 +02:00
Remove unnecessary parentheses
This commit is contained in:
parent
5a655d9d25
commit
fe6ced8dfc
@ -296,7 +296,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
public stats: number[];
|
public stats: number[];
|
||||||
public ivs: number[];
|
public ivs: number[];
|
||||||
public nature: Nature;
|
public nature: Nature;
|
||||||
public moveset: (PokemonMove)[];
|
public moveset: PokemonMove[];
|
||||||
public status: Status | null;
|
public status: Status | null;
|
||||||
public friendship: number;
|
public friendship: number;
|
||||||
public metLevel: number;
|
public metLevel: number;
|
||||||
@ -1751,7 +1751,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
|
|
||||||
abstract isBoss(): boolean;
|
abstract isBoss(): boolean;
|
||||||
|
|
||||||
getMoveset(ignoreOverride?: boolean): (PokemonMove)[] {
|
getMoveset(ignoreOverride?: boolean): PokemonMove[] {
|
||||||
const ret =
|
const ret =
|
||||||
!ignoreOverride && this.summonData?.moveset
|
!ignoreOverride && this.summonData?.moveset
|
||||||
? this.summonData.moveset
|
? this.summonData.moveset
|
||||||
@ -7578,7 +7578,7 @@ export class PokemonSummonData {
|
|||||||
public gender: Gender;
|
public gender: Gender;
|
||||||
public fusionGender: Gender;
|
public fusionGender: Gender;
|
||||||
public stats: number[] = [0, 0, 0, 0, 0, 0];
|
public stats: number[] = [0, 0, 0, 0, 0, 0];
|
||||||
public moveset: (PokemonMove)[];
|
public moveset: PokemonMove[];
|
||||||
// If not initialized this value will not be populated from save data.
|
// If not initialized this value will not be populated from save data.
|
||||||
public types: PokemonType[] = [];
|
public types: PokemonType[] = [];
|
||||||
public addedType: PokemonType | null = null;
|
public addedType: PokemonType | null = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user