|  |  |  | @ -79,7 +79,7 @@ public class NPC extends AbstractCharacter {@@ -79,7 +79,7 @@ public class NPC extends AbstractCharacter { | 
			
		
	
		
			
				
					|  |  |  |  |     // Variables NOT to be stored in db
 | 
			
		
	
		
			
				
					|  |  |  |  |     protected boolean isStatic = false; | 
			
		
	
		
			
				
					|  |  |  |  |     private DateTime upgradeDateTime = null; | 
			
		
	
		
			
				
					|  |  |  |  |     private ConcurrentHashMap<Mob, Integer> siegeMinionMap = new ConcurrentHashMap<>(MBServerStatics.CHM_INIT_CAP, MBServerStatics.CHM_LOAD, MBServerStatics.CHM_THREAD_LOW); | 
			
		
	
		
			
				
					|  |  |  |  |     private final ConcurrentHashMap<Mob, Integer> siegeMinionMap = new ConcurrentHashMap<>(MBServerStatics.CHM_INIT_CAP, MBServerStatics.CHM_LOAD, MBServerStatics.CHM_THREAD_LOW); | 
			
		
	
		
			
				
					|  |  |  |  |     private HashSet<Integer> canRoll = null; | 
			
		
	
		
			
				
					|  |  |  |  |     private int parentZoneID; | 
			
		
	
		
			
				
					|  |  |  |  |     private int equipmentSetID = 0; | 
			
		
	
	
		
			
				
					|  |  |  | @ -1278,21 +1278,15 @@ public class NPC extends AbstractCharacter {@@ -1278,21 +1278,15 @@ public class NPC extends AbstractCharacter { | 
			
		
	
		
			
				
					|  |  |  |  |         return this.guild; | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     // Method removes the npc from the game simulation
 | 
			
		
	
		
			
				
					|  |  |  |  |     // and deletes it from the database.
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public ArrayList<Mob> getSiegeMinions() { | 
			
		
	
		
			
				
					|  |  |  |  |         return siegeMinions; | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public HashSet<Integer> getCanRoll() { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         if (this.canRoll == null) { | 
			
		
	
		
			
				
					|  |  |  |  |         if (this.canRoll == null) | 
			
		
	
		
			
				
					|  |  |  |  |             this.canRoll = DbManager.ItemQueries.GET_ITEMS_FOR_VENDOR(this.vendorID); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         HashSet<Integer> fullItemList = this.canRoll; | 
			
		
	
		
			
				
					|  |  |  |  |             HashSet<Integer> returnIDs = new HashSet<>(); | 
			
		
	
		
			
				
					|  |  |  |  |         HashSet<Integer> filteredItemList = new HashSet<>(); | 
			
		
	
		
			
				
					|  |  |  |  |         short maxSkill = 25; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         switch (this.getRank()) { | 
			
		
	
		
			
				
					|  |  |  |  |             case 1: | 
			
		
	
		
			
				
					|  |  |  |  |                 maxSkill = 25; | 
			
		
	
	
		
			
				
					|  |  |  | @ -1312,24 +1306,23 @@ public class NPC extends AbstractCharacter {@@ -1312,24 +1306,23 @@ public class NPC extends AbstractCharacter { | 
			
		
	
		
			
				
					|  |  |  |  |                 maxSkill = 110; | 
			
		
	
		
			
				
					|  |  |  |  |                 break; | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |             for(Integer itemID : fullItemList){ | 
			
		
	
		
			
				
					|  |  |  |  |                 if(ItemBase.getItemBase(itemID).getPercentRequired() <= maxSkill){ | 
			
		
	
		
			
				
					|  |  |  |  |                     returnIDs.add(itemID); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         for (Integer itemID : fullItemList) | 
			
		
	
		
			
				
					|  |  |  |  |             if (ItemBase.getItemBase(itemID).getPercentRequired() <= maxSkill) | 
			
		
	
		
			
				
					|  |  |  |  |                 filteredItemList.add(itemID); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         if (this.contract.getVendorID() == 102) { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             for (int i = 0; i < this.getRank(); i++) { | 
			
		
	
		
			
				
					|  |  |  |  |                 int subID = i + 1; | 
			
		
	
		
			
				
					|  |  |  |  |                     returnIDs.add(910010 + subID); | 
			
		
	
		
			
				
					|  |  |  |  |                 filteredItemList.add(910010 + subID); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             if (this.getRank() == 7) | 
			
		
	
		
			
				
					|  |  |  |  |                     returnIDs.add(910018); | 
			
		
	
		
			
				
					|  |  |  |  |                 filteredItemList.add(910018); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         //}
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         return returnIDs; | 
			
		
	
		
			
				
					|  |  |  |  |         return filteredItemList; | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     public int getRollingTimeInSeconds(int itemID) { | 
			
		
	
	
		
			
				
					|  |  |  | 
 |