Browse Source

pet level set in run after load removed

combat-2
FatBoy-DOTC 1 year ago
parent
commit
4284757035
  1. 2
      src/engine/objects/Mob.java

2
src/engine/objects/Mob.java

@ -1636,7 +1636,7 @@ public class Mob extends AbstractIntelligenceAgent { @@ -1636,7 +1636,7 @@ public class Mob extends AbstractIntelligenceAgent {
// Don't override level for guard minions
if (this.contract == null)
if (!this.behaviourType.equals(MobBehaviourType.GuardMinion))
if (!this.behaviourType.equals(MobBehaviourType.GuardMinion) && !this.agentType.equals(AIAgentType.PET))
this.level = (short) this.mobBase.getLevel();
//set bonuses

Loading…
Cancel
Save