|
|
|
@ -1709,9 +1709,9 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1709,9 +1709,9 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
for(RuneSkillAdjustEntry entry : PowersManager._allRuneSkillAdjusts.get(this.getMobBaseID())) |
|
|
|
|
if(entry.level <= this.level) |
|
|
|
|
if(this.skills.containsKey(entry.name) == false) |
|
|
|
|
this.skills.put(entry.name,new CharacterSkill(SkillsBase.getFromCache(entry.token),this,entry.rank)); |
|
|
|
|
this.skills.put(entry.skill_type,new CharacterSkill(SkillsBase.getFromCache(entry.token),this,entry.rank)); |
|
|
|
|
else |
|
|
|
|
this.skills.put(entry.name,new CharacterSkill(SkillsBase.getFromCache(entry.token),this,entry.rank + this.skills.get(entry.name).getNumTrains())); |
|
|
|
|
this.skills.put(entry.skill_type,new CharacterSkill(SkillsBase.getFromCache(entry.token),this,entry.rank + this.skills.get(entry.skill_type).getNumTrains())); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|