diff --git a/Projectiles/Rogue/BileExplosion.cs b/Projectiles/Rogue/BileExplosion.cs index 46fc9ade26..e9a21f4ad8 100644 --- a/Projectiles/Rogue/BileExplosion.cs +++ b/Projectiles/Rogue/BileExplosion.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Projectiles.Rogue public override void AI() { - Vector2 randVel = new Vector2(8, 8).RotatedByRandom(100) * Main.rand.NextFloat(0.04f, (Main.rand.NextBool(3) ? 0.4f : 0.5f)); + Vector2 randVel = new Vector2(8, 8).RotatedByRandom(MathHelper.TwoPi) * Main.rand.NextFloat(0.04f, (Main.rand.NextBool(3) ? 0.4f : 0.5f)); Particle smoke = new HeavySmokeParticle(Projectile.Center + randVel, randVel, Color.GreenYellow, Main.rand.Next(25, 35 + 1), Main.rand.NextFloat(0.3f, 0.5f), 0.3f); GeneralParticleHandler.SpawnParticle(smoke); if (Main.rand.NextBool(2)) diff --git a/Projectiles/Rogue/SporeKnifeProj.cs b/Projectiles/Rogue/SporeKnifeProj.cs index 91f6736c2f..55298d704f 100644 --- a/Projectiles/Rogue/SporeKnifeProj.cs +++ b/Projectiles/Rogue/SporeKnifeProj.cs @@ -68,13 +68,13 @@ namespace CalamityMod.Projectiles.Rogue } for (int k = 0; k < 11; k++) { - Dust dust = Dust.NewDustPerfect(Projectile.Center, DustID.JungleSpore, new Vector2(6, 6).RotatedByRandom(100) * Main.rand.NextFloat(4f, 9f), 0, default, Main.rand.NextFloat(0.4f, 0.6f)); + Dust dust = Dust.NewDustPerfect(Projectile.Center, DustID.JungleSpore, new Vector2(6, 6).RotatedByRandom(MathHelper.TwoPi) * Main.rand.NextFloat(4f, 9f), 0, default, Main.rand.NextFloat(0.4f, 0.6f)); dust.noGravity = false; dust.alpha = Main.rand.Next(100, 120 + 1); } for (int k = 0; k < 11; k++) { - Dust dust = Dust.NewDustPerfect(Projectile.Center, DustID.MagicMirror, new Vector2(6, 6).RotatedByRandom(100) * Main.rand.NextFloat(0.5f, 0.8f), 0, Color.GreenYellow, Main.rand.NextFloat(0.6f, 0.8f)); + Dust dust = Dust.NewDustPerfect(Projectile.Center, DustID.MagicMirror, new Vector2(6, 6).RotatedByRandom(MathHelper.TwoPi) * Main.rand.NextFloat(0.5f, 0.8f), 0, Color.GreenYellow, Main.rand.NextFloat(0.6f, 0.8f)); dust.noGravity = false; dust.alpha = Main.rand.Next(100, 120 + 1); } @@ -84,7 +84,7 @@ namespace CalamityMod.Projectiles.Rogue Particle blastRing2 = new CustomPulse(Projectile.Center, Vector2.Zero, Color.Green * 0.8f, "CalamityMod/Particles/SoftRoundExplosion", Vector2.One, Main.rand.NextFloat(-10, 10), 0.04f, 0.07f, 20, true); GeneralParticleHandler.SpawnParticle(blastRing2); #endregion - // Spawn an on-hit explosion which deals 30% of the projectile's damage. + //On hit, expand the hitbox and hit again for 30% of the projectile's damage if (Projectile.owner == Main.myPlayer) { Projectile.damage = (int)(Projectile.damage * 0.3f); diff --git a/Projectiles/Typeless/SulphuricAcidBubbleFriendly.cs b/Projectiles/Typeless/SulphuricAcidBubbleFriendly.cs index 56b43ca9e0..ae998e00f5 100644 --- a/Projectiles/Typeless/SulphuricAcidBubbleFriendly.cs +++ b/Projectiles/Typeless/SulphuricAcidBubbleFriendly.cs @@ -141,7 +141,7 @@ namespace CalamityMod.Projectiles.Typeless { for (int k = 0; k < 15; k++) { - Dust dust2 = Dust.NewDustPerfect(Projectile.Center, 303, new Vector2(8, 8).RotatedByRandom(100) * Main.rand.NextFloat(0.05f, 0.8f)); + Dust dust2 = Dust.NewDustPerfect(Projectile.Center, 303, new Vector2(8, 8).RotatedByRandom(MathHelper.TwoPi) * Main.rand.NextFloat(0.05f, 0.8f)); dust2.scale = Main.rand.NextFloat(0.75f, 0.95f); dust2.noGravity = true; dust2.color = Main.rand.NextBool(3) ? Color.YellowGreen : Color.OliveDrab;