|
|
@ -467,9 +467,11 @@ public enum NPCManager { |
|
|
|
if(NPCManager._runeSetMap.containsKey(npc.runeSetID)) { |
|
|
|
if(NPCManager._runeSetMap.containsKey(npc.runeSetID)) { |
|
|
|
for (int runeID : _runeSetMap.get(npc.runeSetID)) { |
|
|
|
for (int runeID : _runeSetMap.get(npc.runeSetID)) { |
|
|
|
RuneBase rb = RuneBase.getRuneBase(runeID); |
|
|
|
RuneBase rb = RuneBase.getRuneBase(runeID); |
|
|
|
|
|
|
|
if(rb != null) { |
|
|
|
CharacterRune toApply = new CharacterRune(rb, npc.getObjectUUID()); |
|
|
|
CharacterRune toApply = new CharacterRune(rb, npc.getObjectUUID()); |
|
|
|
npc.runes.add(toApply); |
|
|
|
npc.runes.add(toApply); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|