From 6c7e2ac133986efa57b43df52a5498c6f7efcf75 Mon Sep 17 00:00:00 2001 From: Matheus Date: Tue, 26 Aug 2025 22:59:57 -0300 Subject: AI --- scripts/Game.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/Game.cs') diff --git a/scripts/Game.cs b/scripts/Game.cs index 5c18cd7..818b064 100644 --- a/scripts/Game.cs +++ b/scripts/Game.cs @@ -44,8 +44,9 @@ public partial class Game : Node { private void HandleEnemyTurns() { foreach (Actor actor in Map.Map_Data.Actors) { if (actor is Player) continue; - - GD.Print($"O {actor.ActorName} foi cuckado e não tem como agir."); + if (actor is Enemy enemy && enemy.IsAlive) { + enemy.Soul.Perform(); + } } } } -- cgit v1.2.3