Setting up to have a fire attack and lightning attack.

This commit is contained in:
Zed A. Shaw 2025-04-20 22:53:43 -04:00
parent 787be78a69
commit 58981fd8ed
3 changed files with 82 additions and 1 deletions

View file

@ -238,7 +238,7 @@ void System::combat(GameLevel &level) {
};
if(result.player_did > 0) {
auto effect = shaders::get("flame");
auto effect = shaders::get("lightning");
world.set<SpriteEffect>(enemy.entity, {100, effect});
}