|
|
|
@ -461,6 +461,7 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -461,6 +461,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
minionMobile.guardCaptain = guardCaptain; |
|
|
|
|
minionMobile.spawnTime = (int) (-2.500 * guardCaptain.building.getRank() + 22.5) * 60; |
|
|
|
|
minionMobile.behaviourType = Enum.MobBehaviourType.GuardMinion; |
|
|
|
|
minionMobile.agentType = AIAgentType.GUARD; |
|
|
|
|
minionMobile.isPlayerGuard = true; |
|
|
|
|
minionMobile.guardedCity = guardCaptain.guardedCity; |
|
|
|
|
minionMobile.patrolPoints = guardCaptain.building.patrolPoints; |
|
|
|
@ -552,6 +553,7 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -552,6 +553,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
petMinion.healthMax = MobBase.getMobBase(loadID).getHealthMax() * (petMinion.level * 0.5f); |
|
|
|
|
petMinion.health.set(petMinion.healthMax); |
|
|
|
|
petMinion.behaviourType = MobBehaviourType.Pet1; |
|
|
|
|
petMinion.agentType = AIAgentType.PET; |
|
|
|
|
petMinion.firstName = ""; |
|
|
|
|
petMinion.lastName = ""; |
|
|
|
|
|
|
|
|
|