Fix final boss burn cheese
parent
dc9dc98c71
commit
b04cdd3f60
|
@ -2509,7 +2509,13 @@ export class EnemyPokemon extends Pokemon {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const ret = super.damage(damage, ignoreSegments, preventEndure);
|
switch (this.scene.currentBattle.battleSpec) {
|
||||||
|
case BattleSpec.FINAL_BOSS:
|
||||||
|
if (!this.formIndex && this.bossSegmentIndex < 1)
|
||||||
|
damage = Math.min(damage, this.hp - 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
let ret = super.damage(damage, ignoreSegments, preventEndure);
|
||||||
|
|
||||||
if (this.isBoss()) {
|
if (this.isBoss()) {
|
||||||
if (ignoreSegments) {
|
if (ignoreSegments) {
|
||||||
|
|
Loading…
Reference in New Issue