예제 #1
0
 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);
 }
예제 #2
0
 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);
 }