|
|
|
@ -458,4 +458,11 @@ public enum NPCManager {
@@ -458,4 +458,11 @@ public enum NPCManager {
|
|
|
|
|
mob.skills.put(entry.skill_type, new CharacterSkill(skillBase, mob, entry.rank + mob.skills.get(entry.skill_type).getNumTrains())); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void applyRunesForNPC(NPC npc){ |
|
|
|
|
for(int runeID : _runeSetMap.get(npc.runeSetID)){ |
|
|
|
|
RuneBase rb = RuneBase.getRuneBase(runeID); |
|
|
|
|
npc.runes.add(new CharacterRune(rb,npc.getObjectUUID())); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|