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