Halve stats when unspliced in spliced endless mode
parent
d6617957be
commit
ab70f78a8f
|
@ -387,7 +387,10 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||||
}
|
}
|
||||||
|
|
||||||
getStat(stat: Stat): integer {
|
getStat(stat: Stat): integer {
|
||||||
return this.stats[stat];
|
let ret = this.stats[stat];
|
||||||
|
if (this.scene.gameMode === GameMode.SPLICED_ENDLESS && !this.fusionSpecies)
|
||||||
|
ret = Math.ceil(ret / 2);
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
getBattleStat(stat: Stat, opponent?: Pokemon): integer {
|
getBattleStat(stat: Stat, opponent?: Pokemon): integer {
|
||||||
|
|
Loading…
Reference in New Issue