|
|
|
@ -249,7 +249,6 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -249,7 +249,6 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
this.spawnTime = 60 * 15; |
|
|
|
|
this.isPlayerGuard = true; |
|
|
|
|
this.nameOverride = contract.getName(); |
|
|
|
|
this.BehaviourType = MobileFSM.MobBehaviourType.GuardCaptain; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
int guildID = rs.getInt("mob_guildUID"); |
|
|
|
@ -844,6 +843,7 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -844,6 +843,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
for (int slot = 1; slot < maxSlots + 1; slot++) |
|
|
|
|
if (!this.building.getHirelings().containsValue(slot)) { |
|
|
|
|
this.building.getHirelings().put(this, slot); |
|
|
|
|
this.BehaviourType = MobileFSM.MobBehaviourType.GuardCaptain; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|