private void OnHitNPCAccessory(Player player, NPC target, int damage, float knockback, bool crit)
 {
     if (Equipped(player) && crit)
     {
         BleedStack.ApplyBleedStack(target, 300, true);
     }
 }
Exemple #2
0
 private void OnHit(Player player, NPC target, bool crit)
 {
     if (Equipped(player) && crit)
     {
         BleedStack.ApplyBleedStack(target, 300, true);
     }
 }
Exemple #3
0
 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;
         }
     }
 }