|  |  |  | @ -2,8 +2,6 @@ package engine.util;@@ -2,8 +2,6 @@ package engine.util; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | import engine.objects.Zone; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | import java.util.Dictionary; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | public class ZoneLevel { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     private static final float healthPctPerLevel = (float)0.2; | 
			
		
	
	
		
			
				
					|  |  |  | @ -11,8 +9,8 @@ public class ZoneLevel {@@ -11,8 +9,8 @@ public class ZoneLevel { | 
			
		
	
		
			
				
					|  |  |  |  |     private static final float defPctPerLevel = (float)0.2; | 
			
		
	
		
			
				
					|  |  |  |  |     private static final float lootPctPerLevel = (float)0.1; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public static final int CampLvlAnnounceThreshold = 5; | 
			
		
	
		
			
				
					|  |  |  |  |     public static final int CampMaxLvl = 10; | 
			
		
	
		
			
				
					|  |  |  |  |     public static final int campLvlAnnounceThreshold = 5; | 
			
		
	
		
			
				
					|  |  |  |  |     public static final int campMaxLvl = 10; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     private static final String[] nameMap = | 
			
		
	
		
			
				
					|  |  |  |  |             { | 
			
		
	
	
		
			
				
					|  |  |  | @ -29,7 +27,7 @@ public class ZoneLevel {@@ -29,7 +27,7 @@ public class ZoneLevel { | 
			
		
	
		
			
				
					|  |  |  |  |               " X" | 
			
		
	
		
			
				
					|  |  |  |  |             }; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public static String GetNameSuffix(Zone zone) | 
			
		
	
		
			
				
					|  |  |  |  |     public static String getNameSuffix(Zone zone) | 
			
		
	
		
			
				
					|  |  |  |  |     { | 
			
		
	
		
			
				
					|  |  |  |  |         try { | 
			
		
	
		
			
				
					|  |  |  |  |             return nameMap[zone.getCamplvl()]; | 
			
		
	
	
		
			
				
					|  |  |  | @ -41,29 +39,29 @@ public class ZoneLevel {@@ -41,29 +39,29 @@ public class ZoneLevel { | 
			
		
	
		
			
				
					|  |  |  |  |         return ""; | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public static float GetMaxHealthPctModifier(Zone zone) | 
			
		
	
		
			
				
					|  |  |  |  |     public static float getMaxHealthPctModifier(Zone zone) | 
			
		
	
		
			
				
					|  |  |  |  |     { | 
			
		
	
		
			
				
					|  |  |  |  |         return GetGenericModifier(zone, healthPctPerLevel); | 
			
		
	
		
			
				
					|  |  |  |  |         return getGenericModifier(zone, healthPctPerLevel); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public static float GetAtrPctModifier(Zone zone) | 
			
		
	
		
			
				
					|  |  |  |  |     public static float getAtrPctModifier(Zone zone) | 
			
		
	
		
			
				
					|  |  |  |  |     { | 
			
		
	
		
			
				
					|  |  |  |  |         return GetGenericModifier(zone, atrPctPerLevel); | 
			
		
	
		
			
				
					|  |  |  |  |         return getGenericModifier(zone, atrPctPerLevel); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public static float GetDefPctModifier(Zone zone) | 
			
		
	
		
			
				
					|  |  |  |  |     public static float getDefPctModifier(Zone zone) | 
			
		
	
		
			
				
					|  |  |  |  |     { | 
			
		
	
		
			
				
					|  |  |  |  |         return GetGenericModifier(zone, defPctPerLevel); | 
			
		
	
		
			
				
					|  |  |  |  |         return getGenericModifier(zone, defPctPerLevel); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public static float GetLootDropModifier(Zone zone) | 
			
		
	
		
			
				
					|  |  |  |  |     public static float getLootDropModifier(Zone zone) | 
			
		
	
		
			
				
					|  |  |  |  |     { | 
			
		
	
		
			
				
					|  |  |  |  |         return GetGenericModifier(zone, lootPctPerLevel); | 
			
		
	
		
			
				
					|  |  |  |  |         return getGenericModifier(zone, lootPctPerLevel); | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     private static float GetGenericModifier(Zone zone, float modifierPerLevel) | 
			
		
	
		
			
				
					|  |  |  |  |     private static float getGenericModifier(Zone zone, float modifierPerLevel) | 
			
		
	
		
			
				
					|  |  |  |  |     { | 
			
		
	
		
			
				
					|  |  |  |  |         float modifier = (float)1.0; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |