| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -1627,6 +1627,9 @@ public class Mob extends AbstractIntelligenceAgent { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            return; | 
					 | 
					 | 
					 | 
					            return; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.mobBase = MobBase.getMobBase(loadID); | 
					 | 
					 | 
					 | 
					        this.mobBase = MobBase.getMobBase(loadID); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        this.setObjectTypeMask(MBServerStatics.MASK_MOB | this.getTypeMasks()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.building = BuildingManager.getBuilding(this.buildingUUID); | 
					 | 
					 | 
					 | 
					        this.building = BuildingManager.getBuilding(this.buildingUUID); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (this.contractUUID == 0) | 
					 | 
					 | 
					 | 
					        if (this.contractUUID == 0) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1652,12 +1655,12 @@ public class Mob extends AbstractIntelligenceAgent { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            // Load AI for wall archers
 | 
					 | 
					 | 
					 | 
					            // Load AI for wall archers
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (NPC.ISWallArcher(this.contract)) { | 
					 | 
					 | 
					 | 
					            if (NPC.ISWallArcher(this.contract)) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                this.gridObjectType = GridObjectType.STATIC; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.behaviourType = MobBehaviourType.GuardWallArcher; | 
					 | 
					 | 
					 | 
					                this.behaviourType = MobBehaviourType.GuardWallArcher; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.isPlayerGuard = true; | 
					 | 
					 | 
					 | 
					                this.isPlayerGuard = true; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.spawnTime = 450; | 
					 | 
					 | 
					 | 
					                this.spawnTime = 450; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.guardedCity = ZoneManager.getCityAtLocation(this.building.getLoc()); | 
					 | 
					 | 
					 | 
					                this.guardedCity = ZoneManager.getCityAtLocation(this.building.getLoc()); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        // Default to the mobbase for AI if nothing is hte mob field to override.
 | 
					 | 
					 | 
					 | 
					        // Default to the mobbase for AI if nothing is hte mob field to override.
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -1676,8 +1679,6 @@ public class Mob extends AbstractIntelligenceAgent { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (this.guild == null) | 
					 | 
					 | 
					 | 
					        if (this.guild == null) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.guild = Guild.getErrantGuild(); | 
					 | 
					 | 
					 | 
					            this.guild = Guild.getErrantGuild(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.setObjectTypeMask(MBServerStatics.MASK_MOB | this.getTypeMasks()); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (this.firstName.isEmpty()) | 
					 | 
					 | 
					 | 
					        if (this.firstName.isEmpty()) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.firstName = this.mobBase.getFirstName(); | 
					 | 
					 | 
					 | 
					            this.firstName = this.mobBase.getFirstName(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |