|  |  | @ -18,6 +18,7 @@ import java.util.ArrayList; | 
			
		
	
		
		
			
				
					
					|  |  |  | public class HellgateManager { |  |  |  | public class HellgateManager { | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static ArrayList<Hellgate> hellgates; |  |  |  |     public static ArrayList<Hellgate> hellgates; | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static void Reset(Hellgate hellgate){ |  |  |  |     public static void Reset(Hellgate hellgate){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         hellgate.completionTime = 0L; | 
			
		
	
		
		
			
				
					
					|  |  |  |         for(Mob mob : hellgate.mobs){ |  |  |  |         for(Mob mob : hellgate.mobs){ | 
			
		
	
		
		
			
				
					
					|  |  |  |             mob.respawn(); |  |  |  |             mob.respawn(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             mob.destination = mob.bindLoc; |  |  |  |             mob.destination = mob.bindLoc; | 
			
		
	
	
		
		
			
				
					|  |  | @ -86,7 +87,7 @@ public class HellgateManager { | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static Mob CreateHellgateMob(){ |  |  |  |     public static Mob CreateHellgateMob(){ | 
			
		
	
		
		
			
				
					
					|  |  |  |         int soldierID = 14161; |  |  |  |         int soldierID = 14163; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         Mob mob = null; |  |  |  |         Mob mob = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |         mob = createHellgateMob(soldierID,Vector3fImmutable.ZERO,"Hellgate Minion",75); |  |  |  |         mob = createHellgateMob(soldierID,Vector3fImmutable.ZERO,"Hellgate Minion",75); | 
			
		
	
		
		
			
				
					
					|  |  |  |         mob.equipmentSetID = 7545; |  |  |  |         mob.equipmentSetID = 7545; | 
			
		
	
	
		
		
			
				
					|  |  | @ -94,7 +95,7 @@ public class HellgateManager { | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static Mob CreateHellgateMiniBoss(){ |  |  |  |     public static Mob CreateHellgateMiniBoss(){ | 
			
		
	
		
		
			
				
					
					|  |  |  |         int miniBossID = 14180; |  |  |  |         int miniBossID = 12761; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         Mob mob = null; |  |  |  |         Mob mob = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |         mob = createHellgateMob(miniBossID,Vector3fImmutable.ZERO,"Hellgate Commander",75); |  |  |  |         mob = createHellgateMob(miniBossID,Vector3fImmutable.ZERO,"Hellgate Commander",75); | 
			
		
	
		
		
			
				
					
					|  |  |  |         mob.equipmentSetID = 7816; |  |  |  |         mob.equipmentSetID = 7816; | 
			
		
	
	
		
		
			
				
					|  |  | @ -162,13 +163,16 @@ public class HellgateManager { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         //handle MobAI controller
 |  |  |  |         //handle MobAI controller
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         for(Hellgate hellgate : HellgateManager.hellgates){ |  |  |  |         for(Hellgate hellgate : HellgateManager.hellgates){ | 
			
		
	
		
		
			
				
					
					|  |  |  |             //for(Mob mob : hellgate.mobs){
 |  |  |  |             for(Mob mob : hellgate.mobs){ | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 //MobAI.DetermineAction(mob);
 |  |  |  |                 //MobAI.DetermineAction(mob);
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             //}
 |  |  |  |                 //mob.teleport(mob.bindLoc);
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             //for(Mob mob : hellgate.mini_bosses){
 |  |  |  |             } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             for(Mob mob : hellgate.mini_bosses){ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 //MobAI.DetermineAction(mob);
 |  |  |  |                 //MobAI.DetermineAction(mob);
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             //}
 |  |  |  |                 //mob.teleport(mob.bindLoc);
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             //MobAI.DetermineAction(hellgate.boss);
 |  |  |  |             //MobAI.DetermineAction(hellgate.boss);
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             //hellgate.boss.teleport(hellgate.boss.bindLoc);
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             //check if boss has been defeated
 |  |  |  |             //check if boss has been defeated
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             if(!hellgate.boss.isAlive() && hellgate.completionTime == 0L){ |  |  |  |             if(!hellgate.boss.isAlive() && hellgate.completionTime == 0L){ | 
			
		
	
	
		
		
			
				
					|  |  | 
 |