public void AddToBossLoot(string[] npcs, string modName, params int[] itemIDs) { List <int> items = new List <int>(); foreach (int item in itemIDs) { items.Add(item); } foreach (string npc in npcs) { ModInstance.Call("AddToBossLoot", modName, npc, items); } }
public void AddMiniboss(int npcID, float progression, string npcName, Func <bool> downedBoss, int spawnItemID, List <int> lootItemIDs, string spawnInfo, string despawnMessage, string texture, string overrideHeadIconTexutre) => ModInstance.Call("AddMiniBoss", progression, npcID, ModContent.GetInstance <Fargowiltas>(), npcName, downedBoss, spawnItemID, new List <int> { }, lootItemIDs, spawnInfo, despawnMessage, texture, overrideHeadIconTexutre);