xp and range fix

This commit is contained in:
2024-05-22 06:43:51 -05:00
parent a660457883
commit 1d703b08a2
2 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -1278,7 +1278,7 @@ public enum CombatManager {
if(ac.getObjectType().equals(GameObjectType.PlayerCharacter)){
range += ((PlayerCharacter)ac).getCharacterHeight() * 0.5f;
if(ac.isMoving()){
range += ac.getSpeed();
range += ((PlayerCharacter) ac).getCharacterHeight();
}
}