xp and range fix

This commit is contained in:
FatBoy committed 2024-05-22 06:43:51 -05:00
1 parent a660457883
commit 1d703b08a2
2 files changed
+14 -11

No files matched your search

+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();
}
}