|  |  |  | @ -26,6 +26,7 @@ public class HotzoneManager {@@ -26,6 +26,7 @@ public class HotzoneManager { | 
			
		
	
		
			
				
					|  |  |  |  |             hotzoneMob.killCharacter("Hotzone Over"); | 
			
		
	
		
			
				
					|  |  |  |  |             hotzoneMob.despawn(); | 
			
		
	
		
			
				
					|  |  |  |  |             hotzoneMob.spawnTime = 1000000000; | 
			
		
	
		
			
				
					|  |  |  |  |             DbManager.MobQueries.DELETE_MOB( hotzoneMob); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         Random random = new Random(); | 
			
		
	
		
			
				
					|  |  |  |  |         Zone newHotzone = null; | 
			
		
	
	
		
			
				
					|  |  |  | @ -75,13 +76,13 @@ public class HotzoneManager {@@ -75,13 +76,13 @@ public class HotzoneManager { | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public static void GenerateHotzoneEpicLoot(Mob mob){ | 
			
		
	
		
			
				
					|  |  |  |  |     public static void GenerateHotzoneEpicLoot(Mob mob) { | 
			
		
	
		
			
				
					|  |  |  |  |         mob.getCharItemManager().clearInventory(); | 
			
		
	
		
			
				
					|  |  |  |  |         Random random = new Random(); | 
			
		
	
		
			
				
					|  |  |  |  |         int roll = random.nextInt(100); | 
			
		
	
		
			
				
					|  |  |  |  |         int itemId; | 
			
		
	
		
			
				
					|  |  |  |  |         ItemBase runeBase; | 
			
		
	
		
			
				
					|  |  |  |  |         if(roll >= 90){ | 
			
		
	
		
			
				
					|  |  |  |  |         if (roll >= 90) { | 
			
		
	
		
			
				
					|  |  |  |  |             //35 or 40
 | 
			
		
	
		
			
				
					|  |  |  |  |             roll = ThreadLocalRandom.current().nextInt(HellgateManager.static_rune_ids_high.size() + 1); | 
			
		
	
		
			
				
					|  |  |  |  |             itemId = HellgateManager.static_rune_ids_high.get(0); | 
			
		
	
	
		
			
				
					|  |  |  | @ -97,7 +98,7 @@ public class HotzoneManager {@@ -97,7 +98,7 @@ public class HotzoneManager { | 
			
		
	
		
			
				
					|  |  |  |  |                 if (rune != null) | 
			
		
	
		
			
				
					|  |  |  |  |                     mob.getCharItemManager().addItemToInventory(rune); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         }else if (roll >= 76 && roll <= 89){ | 
			
		
	
		
			
				
					|  |  |  |  |         } else if (roll >= 50 && roll <= 89) { | 
			
		
	
		
			
				
					|  |  |  |  |             //30,35 or 40
 | 
			
		
	
		
			
				
					|  |  |  |  |             roll = ThreadLocalRandom.current().nextInt(HellgateManager.static_rune_ids_mid.size() + 1); | 
			
		
	
		
			
				
					|  |  |  |  |             itemId = HellgateManager.static_rune_ids_mid.get(0); | 
			
		
	
	
		
			
				
					|  |  |  | @ -113,7 +114,7 @@ public class HotzoneManager {@@ -113,7 +114,7 @@ public class HotzoneManager { | 
			
		
	
		
			
				
					|  |  |  |  |                 if (rune != null) | 
			
		
	
		
			
				
					|  |  |  |  |                     mob.getCharItemManager().addItemToInventory(rune); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         }else{ | 
			
		
	
		
			
				
					|  |  |  |  |         } else { | 
			
		
	
		
			
				
					|  |  |  |  |             //5-30
 | 
			
		
	
		
			
				
					|  |  |  |  |             roll = ThreadLocalRandom.current().nextInt(HellgateManager.static_rune_ids_low.size() + 1); | 
			
		
	
		
			
				
					|  |  |  |  |             itemId = HellgateManager.static_rune_ids_low.get(0); | 
			
		
	
	
		
			
				
					|  |  |  | @ -130,35 +131,49 @@ public class HotzoneManager {@@ -130,35 +131,49 @@ public class HotzoneManager { | 
			
		
	
		
			
				
					|  |  |  |  |                     mob.getCharItemManager().addItemToInventory(rune); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         if(roll >= 95){ | 
			
		
	
		
			
				
					|  |  |  |  |         roll = ThreadLocalRandom.current().nextInt(1, 101); | 
			
		
	
		
			
				
					|  |  |  |  |         if (roll >= 95) { | 
			
		
	
		
			
				
					|  |  |  |  |             //glass
 | 
			
		
	
		
			
				
					|  |  |  |  |             int glassRoll = ThreadLocalRandom.current().nextInt(1,101); | 
			
		
	
		
			
				
					|  |  |  |  |             if(glassRoll < 5){ | 
			
		
	
		
			
				
					|  |  |  |  |                 int glassID = LootManager.rollRandomItem(126); | 
			
		
	
		
			
				
					|  |  |  |  |                 ItemBase glassItem = ItemBase.getItemBase(glassID); | 
			
		
	
		
			
				
					|  |  |  |  |                 if (glassItem != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                     MobLoot glass = new MobLoot(mob, glassItem, true); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                     if (glass != null) | 
			
		
	
		
			
				
					|  |  |  |  |                         mob.getCharItemManager().addItemToInventory(glass); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |             int glassID = LootManager.rollRandomItem(126); | 
			
		
	
		
			
				
					|  |  |  |  |             ItemBase glassItem = ItemBase.getItemBase(glassID); | 
			
		
	
		
			
				
					|  |  |  |  |             if (glassItem != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 MobLoot glass = new MobLoot(mob, glassItem, true); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 if (glass != null) | 
			
		
	
		
			
				
					|  |  |  |  |                     mob.getCharItemManager().addItemToInventory(glass); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         //guard captain
 | 
			
		
	
		
			
				
					|  |  |  |  |         roll = ThreadLocalRandom.current().nextInt(LootManager.racial_guard_uuids.size() + 1); | 
			
		
	
		
			
				
					|  |  |  |  |         itemId = LootManager.racial_guard_uuids.get(0); | 
			
		
	
		
			
				
					|  |  |  |  |         try { | 
			
		
	
		
			
				
					|  |  |  |  |             itemId = LootManager.racial_guard_uuids.get(roll); | 
			
		
	
		
			
				
					|  |  |  |  |         } catch (Exception e) { | 
			
		
	
		
			
				
					|  |  |  |  |         roll = ThreadLocalRandom.current().nextInt(1, 101); | 
			
		
	
		
			
				
					|  |  |  |  |         if (roll >= 95) { | 
			
		
	
		
			
				
					|  |  |  |  |             //r8 banescroll
 | 
			
		
	
		
			
				
					|  |  |  |  |             int baneID = 910018; | 
			
		
	
		
			
				
					|  |  |  |  |             ItemBase baneItem = ItemBase.getItemBase(baneID); | 
			
		
	
		
			
				
					|  |  |  |  |             if (baneItem != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 MobLoot bane = new MobLoot(mob, baneItem, true); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 if (bane != null) | 
			
		
	
		
			
				
					|  |  |  |  |                     mob.getCharItemManager().addItemToInventory(bane); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         runeBase = ItemBase.getItemBase(itemId); | 
			
		
	
		
			
				
					|  |  |  |  |         if (runeBase != null) { | 
			
		
	
		
			
				
					|  |  |  |  |             MobLoot rune = new MobLoot(mob, runeBase, true); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             if (rune != null) | 
			
		
	
		
			
				
					|  |  |  |  |                 mob.getCharItemManager().addItemToInventory(rune); | 
			
		
	
		
			
				
					|  |  |  |  |         roll = ThreadLocalRandom.current().nextInt(1, 101); | 
			
		
	
		
			
				
					|  |  |  |  |         if (roll >= 95) { | 
			
		
	
		
			
				
					|  |  |  |  |             //guard captain
 | 
			
		
	
		
			
				
					|  |  |  |  |             roll = ThreadLocalRandom.current().nextInt(LootManager.racial_guard_uuids.size() + 1); | 
			
		
	
		
			
				
					|  |  |  |  |             itemId = LootManager.racial_guard_uuids.get(0); | 
			
		
	
		
			
				
					|  |  |  |  |             try { | 
			
		
	
		
			
				
					|  |  |  |  |                 itemId = LootManager.racial_guard_uuids.get(roll); | 
			
		
	
		
			
				
					|  |  |  |  |             } catch (Exception e) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |             runeBase = ItemBase.getItemBase(itemId); | 
			
		
	
		
			
				
					|  |  |  |  |             if (runeBase != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                 MobLoot rune = new MobLoot(mob, runeBase, true); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 if (rune != null) | 
			
		
	
		
			
				
					|  |  |  |  |                     mob.getCharItemManager().addItemToInventory(rune); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |