|
|
|
@ -26,6 +26,7 @@ import engine.net.Dispatch;
@@ -26,6 +26,7 @@ import engine.net.Dispatch;
|
|
|
|
|
import engine.net.DispatchMessage; |
|
|
|
|
import engine.net.client.msg.PetMsg; |
|
|
|
|
import engine.net.client.msg.PlaceAssetMsg; |
|
|
|
|
import engine.powers.RuneSkillAdjustEntry; |
|
|
|
|
import engine.server.MBServerStatics; |
|
|
|
|
import org.joda.time.DateTime; |
|
|
|
|
import org.pmw.tinylog.Logger; |
|
|
|
@ -1704,7 +1705,13 @@ public class Mob extends AbstractIntelligenceAgent {
@@ -1704,7 +1705,13 @@ public class Mob extends AbstractIntelligenceAgent {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.deathTime = 0; |
|
|
|
|
|
|
|
|
|
if(PowersManager._allRuneSkillAdjusts.containsKey(this.getMobBaseID())) |
|
|
|
|
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)); |
|
|
|
|
else |
|
|
|
|
this.skills.put(entry.name,new CharacterSkill(SkillsBase.getFromCache(entry.token),this,entry.rank + this.skills.get(entry.name).getNumTrains())); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|