NPCs load rune sets

This commit is contained in:
2023-09-13 20:12:07 -05:00
parent f8269bb764
commit bd9dbcbb42
3 changed files with 13 additions and 1 deletions
+5
View File
@@ -972,6 +972,11 @@ public class NPC extends AbstractCharacter {
Bounds npcBounds = Bounds.borrow();
npcBounds.setBounds(this.getLoc());
//apply NPC rune effects
if(NPCManager._runeSetMap.containsKey(this.runeSetID)){
NPCManager.applyRunesForNPC(this);
}
} catch (Exception e) {
Logger.error(e.getMessage());
}