From 9c79dca2c55cf93c848896cb6452ec9fe571f87e Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 17 May 2024 16:55:30 -0500 Subject: [PATCH] weird range check issue resolved --- src/engine/gameManager/CombatManager.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/engine/gameManager/CombatManager.java b/src/engine/gameManager/CombatManager.java index 709ff575..269d807f 100644 --- a/src/engine/gameManager/CombatManager.java +++ b/src/engine/gameManager/CombatManager.java @@ -1277,9 +1277,6 @@ public enum CombatManager { if(ac.getObjectType().equals(GameObjectType.PlayerCharacter)){ range += ((PlayerCharacter)ac).getCharacterHeight() * 0.5f; - if(ac.isMoving()){ - range += ac.getSpeed(); - } } float magnitudeSquared = tl.distanceSquared(sl);