Abismuth Terrarian Dec 16, 2023 #1 I've been making my melee item, and I want it to give the player a regeneration buff after hitting an enemy. Please help.
I've been making my melee item, and I want it to give the player a regeneration buff after hitting an enemy. Please help.
Michaelsoftman Terrarian Dec 17, 2023 #2 In the item, you can use the OnHitNPC() hook which provides the player parameter. Then you can just do player.AddBuff(whatever)
In the item, you can use the OnHitNPC() hook which provides the player parameter. Then you can just do player.AddBuff(whatever)