Browse Source

weird range check issue resolved

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
9c79dca2c5
  1. 3
      src/engine/gameManager/CombatManager.java

3
src/engine/gameManager/CombatManager.java

@ -1277,9 +1277,6 @@ public enum CombatManager { @@ -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);

Loading…
Cancel
Save