From 358943907bc9e37d26618ee03adf1ffd97635335 Mon Sep 17 00:00:00 2001 From: Matheus Date: Thu, 28 Aug 2025 17:01:53 -0300 Subject: Combate corpo a corpo. --- scripts/actors/actions/BumpAction.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/actors/actions/BumpAction.cs') diff --git a/scripts/actors/actions/BumpAction.cs b/scripts/actors/actions/BumpAction.cs index def721b..0ce7fbe 100644 --- a/scripts/actors/actions/BumpAction.cs +++ b/scripts/actors/actions/BumpAction.cs @@ -19,7 +19,7 @@ public partial class BumpAction : DirectionalAction Action action; // Se houver um ator no destino, crie uma ação de ataque. - if (GetBlockingActorAtPosition(destination) != null) { + if (GetTargetActor() != null) { action = new MeleeAction(actor, Offset); } else { // Mas se não houver, crie uma ação de movimento. -- cgit v1.2.3