|
|
|
@ -465,11 +465,6 @@ public enum NPCManager {
@@ -465,11 +465,6 @@ public enum NPCManager {
|
|
|
|
|
RuneBase rb = RuneBase.getRuneBase(runeID); |
|
|
|
|
CharacterRune toApply = new CharacterRune(rb,npc.getObjectUUID()); |
|
|
|
|
npc.runes.add(toApply); |
|
|
|
|
EffectsBase effectsBase; |
|
|
|
|
for(MobBaseEffects effect : toApply.getRuneBase().getEffectsList()){ |
|
|
|
|
effectsBase = PowersManager.getEffectByToken(effect.getToken()); |
|
|
|
|
npc.addEffectNoTimer(Integer.toString(effectsBase.getUUID()), effectsBase, effect.getRank(), true); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|