Auto-leveling camp modifications

This commit is contained in:
2024-08-19 06:56:44 -04:00
parent dd4f4bffe9
commit 785a5eb736
3 changed files with 44 additions and 4 deletions
+3 -2
View File
@@ -15,6 +15,7 @@ public class ZoneLevel {
public static final int queueLengthToLevelUp = 5;
public static final int msToLevelDown = 60 * 1000;
public static final int msTolevelUp = 60 * 1000;
private static final String[] nameMap =
{
@@ -34,7 +35,7 @@ public class ZoneLevel {
public static String getNameSuffix(Zone zone)
{
try {
return nameMap[zone.getCamplvl()];
return nameMap[zone.getCampLvl()];
}
catch (Exception ignored)
{
@@ -74,7 +75,7 @@ public class ZoneLevel {
if (zone != null)
{
modifier += zone.getCamplvl() * modifierPerLevel;
modifier += zone.getCampLvl() * modifierPerLevel;
}
return modifier;