v2.3.0: crystal spire health bar now bleeds at less than 100 HP
This commit is contained in:
+2
@@ -327,6 +327,8 @@ public class CrystalSpire extends Mob {
|
|||||||
sprite.bloodBurstA(Dungeon.hero.sprite.center(), dmg);
|
sprite.bloodBurstA(Dungeon.hero.sprite.center(), dmg);
|
||||||
sprite.flash();
|
sprite.flash();
|
||||||
|
|
||||||
|
BossHealthBar.bleed(HP <= HT/3);
|
||||||
|
|
||||||
if (isAlive()) {
|
if (isAlive()) {
|
||||||
Sample.INSTANCE.play(Assets.Sounds.SHATTER, 1f, Random.Float(1.15f, 1.25f));
|
Sample.INSTANCE.play(Assets.Sounds.SHATTER, 1f, Random.Float(1.15f, 1.25f));
|
||||||
((CrystalSpireSprite) sprite).updateIdle();
|
((CrystalSpireSprite) sprite).updateIdle();
|
||||||
|
|||||||
Reference in New Issue
Block a user