Browse Source

NPC rune work

feature-region-set
FatBoy-DOTC 1 year ago
parent
commit
c1498145e6
  1. 5
      src/engine/gameManager/NPCManager.java

5
src/engine/gameManager/NPCManager.java

@ -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);
}
}
}
}

Loading…
Cancel
Save