bloodfin boost dust

This commit is contained in:
termigator1359 committed 2019-11-11 23:09:09 -05:00
1 parent 3e924a2b8a
commit 8a3e3e27a7
1 file changed
+8
+8
View File
@@ -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;