From 8a3e3e27a722e585d3cc291f5cc33fd809a98460 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Mon, 11 Nov 2019 23:09:09 -0500 Subject: [PATCH] bloodfin boost dust --- CalPlayer/CalamityPlayer.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index cb034c7efa..dbad1e59b0 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -10446,6 +10446,14 @@ namespace CalamityMod.CalPlayer } if (bloodfinBoost) { + if (Main.rand.NextBool(6) && drawInfo.shadow == 0f) + { + int dust = Dust.NewDust(drawInfo.position - new Vector2(2f, 2f), player.width + 4, player.height + 4, 5, player.velocity.X * 0.4f, player.velocity.Y * 0.4f, 100, default, 3f); + Main.dust[dust].noGravity = true; + Main.dust[dust].velocity *= 1.8f; + Main.dust[dust].velocity.Y -= 0.5f; + Main.playerDrawDust.Add(dust); + } if (noRogueStealth) { r *= 0.5f;