i need help....

Deva USSR

Terrarian
i need help with making a weapon that ignores the anti butcher mechanics like the pestilence from the echoes of the ancients
 
C#:
        public override void OnHitNPC(Player player, NPC target, int damage, float knockBack, bool crit)
        {
            target.life = 0;
        }

Or alternatively


C#:
        public override void OnHitNPC(Player player, NPC target, int damage, float knockBack, bool crit)
        {
            target.active = false;
        }
 
Back
Top Bottom