Browse Source

lookup using name

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

2
src/engine/objects/Mob.java

@ -1709,7 +1709,7 @@ public class Mob extends AbstractIntelligenceAgent {
//load mob skill adjustments form mobbase rune //load mob skill adjustments form mobbase rune
if(PowersManager._allRuneSkillAdjusts.containsKey(this.getMobBaseID())) if(PowersManager._allRuneSkillAdjusts.containsKey(this.getMobBaseID()))
for(RuneSkillAdjustEntry entry : PowersManager._allRuneSkillAdjusts.get(this.getMobBaseID())) { for(RuneSkillAdjustEntry entry : PowersManager._allRuneSkillAdjusts.get(this.getMobBaseID())) {
SkillsBase skillBase = SkillsBase.getFromCache(entry.token); SkillsBase skillBase = SkillsBase.getFromCache(entry.skill_type);
if(skillBase == null) if(skillBase == null)
continue; continue;
if (entry.level <= this.level) if (entry.level <= this.level)

Loading…
Cancel
Save