diff options
| author | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-28 17:01:53 -0300 |
|---|---|---|
| committer | Matheus <matheus.guedes.mg.m@gmail.com> | 2025-08-28 17:01:53 -0300 |
| commit | 358943907bc9e37d26618ee03adf1ffd97635335 (patch) | |
| tree | 223b32f5631d3decb679302b489e6d7e124674c8 /scripts/actors/actions/BumpAction.cs | |
| parent | afcd5055e98dcb7c9fefeabb072ecc56d0456bd7 (diff) | |
Combate corpo a corpo.
Diffstat (limited to 'scripts/actors/actions/BumpAction.cs')
| -rw-r--r-- | scripts/actors/actions/BumpAction.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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. |
