private void OnHitNPCAccessory(Player player, NPC target, int damage, float knockback, bool crit) { if (Equipped(player) && crit) { BleedStack.ApplyBleedStack(target, 300, true); } }
private void OnHit(Player player, NPC target, bool crit) { if (Equipped(player) && crit) { BleedStack.ApplyBleedStack(target, 300, true); } }
private void OnHit(Player player, NPC target, bool crit) { if (Equipped(player) && crit) { BleedStack.ApplyBleedStack(target, 300, true); if (Main.netMode == NetmodeID.MultiplayerClient) { player.GetModPlayer <StarlightPlayer>().shouldSendHitPacket = true; } } }