tModLoader Custom NPC Spawns Other NPC on death

minefrac1

Terrarian
I am making a mod, and I need some help. I want to make an enemy spawn a zombie on death, along with its loot. Is there any way to do this, or am I just stupid? This is the first custom NPC I've made, so bear with me please. I just need whatever code and where to put it within the file. I am using NPCLoot and loot drops properly on death if that matters. Help is appreciated. :)
 
Back
Top Bottom