示例#1
0
        public static void ModifyNPCLoot(NPC npc, NPCLoot npcLoot)
        {
            npc.ModNPC?.ModifyNPCLoot(npcLoot);

            foreach (GlobalNPC g in HookModifyNPCLoot.Enumerate(npc.globalNPCs))
            {
                g.ModifyNPCLoot(npc, npcLoot);
            }
        }
示例#2
0
 /// <summary>
 /// Allows you to add and modify NPC loot tables to drop on death and to appear in the Bestiary.
 /// </summary>
 /// <param name="npcLoot"></param>
 public virtual void ModifyNPCLoot(NPCLoot npcLoot)
 {
 }