tModLoader how to make enemy npc to target and attack other enemy npc?

NKSHV

Terrarian
I feel like it should be easy to do (just change npc's target and mak it dealing damage to other npcs). However I didn't find any AI type of modding tutorials for tModLoader. My idea is to be able to catch any enemy npc and use it in fights with other enemy npc's (aka pokemon mod). This also involves saving npc's to your inventory - how do you do that?
 
Back
Top Bottom