mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 15:03:24 +02:00
[Balance] Trainer boss Pokémon no longer gain a stat boost when a boss segment is broken #6552
Trainer boss Pokémon no longer gain a stat boost when a boss segment is broken
This commit is contained in:
parent
e233f24526
commit
3ed6a9a960
@ -6909,7 +6909,7 @@ export class EnemyPokemon extends Pokemon {
|
||||
const segmentSize = this.getMaxHp() / this.bossSegments;
|
||||
clearedBossSegmentIndex = Math.ceil(this.hp / segmentSize);
|
||||
}
|
||||
if (clearedBossSegmentIndex <= this.bossSegmentIndex) {
|
||||
if (clearedBossSegmentIndex <= this.bossSegmentIndex && !this.hasTrainer()) {
|
||||
this.handleBossSegmentCleared(clearedBossSegmentIndex);
|
||||
}
|
||||
this.battleInfo.updateBossSegments(this);
|
||||
|
Loading…
Reference in New Issue
Block a user