Wires in new audio sound fxs
This commit is contained in:
@@ -370,12 +370,14 @@ func take_damage(amount: float) -> void:
|
||||
return # already dying
|
||||
current_health -= amount
|
||||
_flash_timer = 0.1
|
||||
AudioManager.play("enemy_hit")
|
||||
EventBus.boss_health_changed.emit(maxf(current_health, 0.0), max_health, "THE WARDEN")
|
||||
if current_health <= 0.0:
|
||||
_enter_climax()
|
||||
|
||||
|
||||
func _die() -> void:
|
||||
AudioManager.play("enemy_death")
|
||||
_clear_mines()
|
||||
for entry in _sweep_projs:
|
||||
if is_instance_valid(entry["node"]):
|
||||
|
||||
Reference in New Issue
Block a user