v1.4.2: fixed boss health bar not clearing its buff indicator
This commit is contained in:
@@ -157,6 +157,8 @@ public class BossHealthBar extends Component {
|
|||||||
if (!boss.isAlive() || !Dungeon.level.mobs.contains(boss)){
|
if (!boss.isAlive() || !Dungeon.level.mobs.contains(boss)){
|
||||||
boss = null;
|
boss = null;
|
||||||
visible = active = false;
|
visible = active = false;
|
||||||
|
buffs.killAndErase();
|
||||||
|
buffs = null;
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
int health = boss.HP;
|
int health = boss.HP;
|
||||||
|
|||||||
Reference in New Issue
Block a user