Browse Source

Moved scaling to a new power

NovaTest
kevin 3 months ago
parent
commit
0430fb3e42
  1. 1
      src/engine/objects/Mob.java

1
src/engine/objects/Mob.java

@ -1402,6 +1402,7 @@ public class Mob extends AbstractIntelligenceAgent {
// Set Name based on parent zone level // Set Name based on parent zone level
Zone camp = this.getParentZone(); Zone camp = this.getParentZone();
this.lastName = this.originalLastName + ZoneLevel.getNameSuffix(camp); this.lastName = this.originalLastName + ZoneLevel.getNameSuffix(camp);
PowersManager.applyPower(this, this, this.getLoc(), "CMP-001", camp.getCamplvl(), false);
this.recalculateStats(); this.recalculateStats();
this.setHealth(this.healthMax); this.setHealth(this.healthMax);

Loading…
Cancel
Save