|
|
@ -467,8 +467,10 @@ 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); |
|
|
|
CharacterRune toApply = new CharacterRune(rb, npc.getObjectUUID()); |
|
|
|
if(rb != null) { |
|
|
|
npc.runes.add(toApply); |
|
|
|
CharacterRune toApply = new CharacterRune(rb, npc.getObjectUUID()); |
|
|
|
|
|
|
|
npc.runes.add(toApply); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|