TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ ModifyNPCLoot()

virtual void Terraria.ModLoader.ModNPC.ModifyNPCLoot ( NPCLoot npcLoot)
inlinevirtual

Allows you to add and modify NPC loot tables to drop on death and to appear in the Bestiary.
The Basic NPC Drops and Loot 1.4 Guideexplains how to use this hook to modify NPC loot.
This hook only runs once during mod loading, any dynamic behavior must be contained in the rules themselves.

Parameters
npcLootA reference to the item drop database for this npc type

Definition at line 385 of file ModNPC.cs.

386 {
387 }