fix typo
parent
45f3709c85
commit
7dec760944
|
|
@ -134,7 +134,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||||
this.exp = dataSource?.exp || getLevelTotalExp(this.level, species.growthRate);
|
this.exp = dataSource?.exp || getLevelTotalExp(this.level, species.growthRate);
|
||||||
this.levelExp = dataSource?.levelExp || 0;
|
this.levelExp = dataSource?.levelExp || 0;
|
||||||
if (dataSource) {
|
if (dataSource) {
|
||||||
this.id = dataSource.id
|
this.id = dataSource.id;
|
||||||
this.hp = dataSource.hp;
|
this.hp = dataSource.hp;
|
||||||
this.stats = dataSource.stats;
|
this.stats = dataSource.stats;
|
||||||
this.ivs = dataSource.ivs;
|
this.ivs = dataSource.ivs;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue