//Use this to hook into when an enemy dies. Check EnemyDeathEffects.didFire to prevent doing any actions on redundant invokes. public void RecieveDeathEvent(float?attackDirection, bool resetDeathEvent = false, bool spellBurn = false, bool isWatery = false) { ModHooks.OnRecieveDeathEvent(this, didFire, ref attackDirection, ref resetDeathEvent, ref spellBurn, ref isWatery); orig_RecieveDeathEvent(attackDirection, resetDeathEvent, spellBurn, isWatery); }