Now the rat king screams.

This commit is contained in:
Zed A. Shaw 2025-10-21 00:46:16 -04:00
parent 7c11ffa2af
commit e1da089600
2 changed files with 7 additions and 2 deletions

View file

@ -160,6 +160,11 @@ namespace boss {
}
if($boss_anim.playing) {
if($boss_anim.current == 0) {
auto scream = $world->get<components::Sound>($boss_id);
sound::play(scream.attack);
}
animation::apply($boss_anim, *$boss_sprite.sprite, $boss_pos);
}
}