bloodfin boost dust
This commit is contained in:
1 parent
3e924a2b8a
commit
8a3e3e27a7
1 file changed
+8
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user