|
|
@ -1277,9 +1277,6 @@ public enum CombatManager { |
|
|
|
|
|
|
|
|
|
|
|
if(ac.getObjectType().equals(GameObjectType.PlayerCharacter)){ |
|
|
|
if(ac.getObjectType().equals(GameObjectType.PlayerCharacter)){ |
|
|
|
range += ((PlayerCharacter)ac).getCharacterHeight() * 0.5f; |
|
|
|
range += ((PlayerCharacter)ac).getCharacterHeight() * 0.5f; |
|
|
|
if(ac.isMoving()){ |
|
|
|
|
|
|
|
range += ac.getSpeed(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
float magnitudeSquared = tl.distanceSquared(sl); |
|
|
|
float magnitudeSquared = tl.distanceSquared(sl); |
|
|
|