public void OnModifyHitNPCEvent(Projectile projectile, NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection) { ModifyHitNPCEvent?.Invoke(projectile, target, ref damage, ref knockback, ref crit, ref hitDirection); }
public override void ModifyHitNPC(Item item, NPC target, ref int damage, ref float knockback, ref bool crit) { ModifyHitNPCEvent?.Invoke(player, item, target, ref damage, ref knockback, ref crit); }