mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 13:52:18 +02:00
remove useless logic
This commit is contained in:
parent
140571910e
commit
33b146acd9
@ -895,9 +895,6 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
|
|
||||||
this.setStat(s, value);
|
this.setStat(s, value);
|
||||||
}
|
}
|
||||||
if (this.getTag(BattlerTagType.POWER_TRICK)) {
|
|
||||||
[this.stats[Stat.ATK], this.stats[Stat.DEF]] = [this.stats[Stat.DEF], this.stats[Stat.ATK]];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getNature(): Nature {
|
getNature(): Nature {
|
||||||
@ -3087,7 +3084,6 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
|||||||
}
|
}
|
||||||
this.summonDataPrimer = null;
|
this.summonDataPrimer = null;
|
||||||
}
|
}
|
||||||
this.calculateStats();
|
|
||||||
this.updateInfo();
|
this.updateInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user