|
|
|
@ -1399,7 +1399,8 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1399,7 +1399,8 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
|
|
|
|
|
NPCManager.applyRuneSetEffects(this); |
|
|
|
|
|
|
|
|
|
Zone camp = ZoneManager.findSmallestZone(this.loc); |
|
|
|
|
// Set Name based on parent zone level
|
|
|
|
|
Zone camp = this.getParentZone(); |
|
|
|
|
this.lastName = this.originalLastName + ZoneLevel.GetNameSuffix(camp); |
|
|
|
|
|
|
|
|
|
this.recalculateStats(); |
|
|
|
@ -1515,6 +1516,10 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1515,6 +1516,10 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
s *= (1 + this.bonuses.getFloatPercentAll(ModType.StaminaFull, SourceType.None)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Modify max health based on camp level
|
|
|
|
|
Zone camp = this.getParentZone(); |
|
|
|
|
h = h * ZoneLevel.GetMaxHealthPctModifier(camp); |
|
|
|
|
|
|
|
|
|
// Set max health, mana and stamina
|
|
|
|
|
|
|
|
|
|
if (h > 0) |
|
|
|
|