|
|
|
@ -1734,7 +1734,10 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1734,7 +1734,10 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
this.firstName = this.mobBase.getFirstName(); |
|
|
|
|
|
|
|
|
|
if (this.contract != null) { |
|
|
|
|
|
|
|
|
|
this.equipmentSetID = this.contract.getEquipmentSet(); |
|
|
|
|
|
|
|
|
|
if (this.lastName.isEmpty()) |
|
|
|
|
this.lastName = this.getContract().getName(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -1746,7 +1749,10 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1746,7 +1749,10 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
this.mana.set(this.manaMax); |
|
|
|
|
this.stamina.set(this.staminaMax); |
|
|
|
|
|
|
|
|
|
// Don't override level for guard minions
|
|
|
|
|
|
|
|
|
|
if (this.contract == null) |
|
|
|
|
if (!this.behaviourType.equals(MobBehaviourType.GuardMinion)) |
|
|
|
|
this.level = (short) this.mobBase.getLevel(); |
|
|
|
|
|
|
|
|
|
//set bonuses
|
|
|
|
|