Example #1
0
 public override void ModifyHitByProjectile(Projectile proj, ref int damage, ref bool crit)
 {
     ModifyHitByProjectileEvent?.Invoke(player, proj, ref damage, ref crit);
 }
 public override void ModifyHitByProjectile(NPC npc, Projectile projectile, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
 {
     ModifyHitByProjectileEvent?.Invoke(npc, projectile, ref damage, ref knockback, ref crit, ref hitDirection);
 }