diff --git a/NPCs/CalamityAI.cs b/NPCs/CalamityAI.cs index 5ea87019c9..c623647458 100644 --- a/NPCs/CalamityAI.cs +++ b/NPCs/CalamityAI.cs @@ -122,7 +122,7 @@ namespace CalamityMod.NPCs if (doSpiral) { npc.localAI[3] = 90f; - float acidMistBarfDivisor = malice ? 3f : expertMode ? 4f : 6f; + float acidMistBarfDivisor = malice ? 2f : expertMode ? 3f : 5f; float toxicCloudBarfDivisor = malice ? 30f : expertMode ? 40f : 60f; // Vomit acid mist diff --git a/NPCs/Cryogen/Cryogen.cs b/NPCs/Cryogen/Cryogen.cs index 172cec7e9d..ce2d30f7fc 100644 --- a/NPCs/Cryogen/Cryogen.cs +++ b/NPCs/Cryogen/Cryogen.cs @@ -231,7 +231,7 @@ namespace CalamityMod.NPCs.Cryogen if (Main.netMode != NetmodeID.MultiplayerClient && expertMode && (NPC.ai[0] < 5f || !phase6) && !charging) { time++; - if (time >= (malice ? 480 : 600)) + if (time >= (malice ? 660 : 900)) { time = 0; SoundEngine.PlaySound(SoundID.Item28, NPC.Center); @@ -247,7 +247,7 @@ namespace CalamityMod.NPCs.Cryogen for (int k = 0; k < totalProjectiles; k++) { Vector2 vector255 = spinningPoint.RotatedBy(radians * k); - Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + Vector2.Normalize(vector255) * 30f, vector255, type, damage, 0f, Main.myPlayer, 0f, NPC.ai[0] * 0.5f); + Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + Vector2.Normalize(vector255) * 30f, vector255, type, damage, 0f, Main.myPlayer); } } } @@ -889,7 +889,7 @@ namespace CalamityMod.NPCs.Cryogen { time = 0; SoundEngine.PlaySound(SoundID.Item28, NPC.Center); - int totalProjectiles = 4; + int totalProjectiles = 2; float radians = MathHelper.TwoPi / totalProjectiles; int type = ModContent.ProjectileType(); int damage = NPC.GetProjectileDamage(type); @@ -901,7 +901,7 @@ namespace CalamityMod.NPCs.Cryogen for (int k = 0; k < totalProjectiles; k++) { Vector2 vector255 = spinningPoint.RotatedBy(radians * k); - Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + Vector2.Normalize(vector255) * 30f, vector255, type, damage, 0f, Main.myPlayer, 0f, 1f); + Projectile.NewProjectile(NPC.GetSource_FromAI(), NPC.Center + Vector2.Normalize(vector255) * 30f, vector255, type, damage, 0f, Main.myPlayer); } } diff --git a/NPCs/SlimeGod/SlimeGodRun.cs b/NPCs/SlimeGod/SlimeGodRun.cs index d8b941e83c..0362ec5242 100644 --- a/NPCs/SlimeGod/SlimeGodRun.cs +++ b/NPCs/SlimeGod/SlimeGodRun.cs @@ -327,7 +327,7 @@ namespace CalamityMod.NPCs.SlimeGod Vector2 destination = new Vector2(NPC.Center.X, NPC.Center.Y - 100f) - NPC.Center; destination.Normalize(); destination *= projectileVelocity; - int numProj = 4; + int numProj = 5; float rotation = MathHelper.ToRadians(45); for (int i = 0; i < numProj; i++) { diff --git a/NPCs/SlimeGod/SlimeGodRunSplit.cs b/NPCs/SlimeGod/SlimeGodRunSplit.cs index d4d8c85bf7..726bf2f974 100644 --- a/NPCs/SlimeGod/SlimeGodRunSplit.cs +++ b/NPCs/SlimeGod/SlimeGodRunSplit.cs @@ -320,7 +320,7 @@ namespace CalamityMod.NPCs.SlimeGod Vector2 destination = new Vector2(NPC.Center.X, NPC.Center.Y - 100f) - NPC.Center; destination.Normalize(); destination *= projectileVelocity; - int numProj = 2; + int numProj = 3; float rotation = MathHelper.ToRadians(45); for (int i = 0; i < numProj; i++) { diff --git a/Projectiles/Boss/IceBomb.cs b/Projectiles/Boss/IceBomb.cs index 743501a1dc..588127e502 100644 --- a/Projectiles/Boss/IceBomb.cs +++ b/Projectiles/Boss/IceBomb.cs @@ -33,7 +33,7 @@ namespace CalamityMod.Projectiles.Boss public override void AI() { - Projectile.velocity *= 0.99f; + Projectile.velocity *= 0.98f; if (Projectile.localAI[0] == 0f) { @@ -98,11 +98,11 @@ namespace CalamityMod.Projectiles.Boss if (Projectile.owner == Main.myPlayer) { - int totalProjectiles = (CalamityWorld.revenge || BossRushEvent.BossRushActive ? 3 : 2) + (int)Projectile.ai[1]; + int totalProjectiles = 8; float radians = MathHelper.TwoPi / totalProjectiles; int type = ModContent.ProjectileType(); int damage = (int)Math.Round(Projectile.damage * 0.75); - float velocity = CalamityWorld.revenge || BossRushEvent.BossRushActive ? 7f : 6f; + float velocity = 1f; Vector2 spinningPoint = new Vector2(0f, -velocity); for (int k = 0; k < totalProjectiles; k++) { diff --git a/Projectiles/Boss/IceRain.cs b/Projectiles/Boss/IceRain.cs index 24607e8e20..e94af408a7 100644 --- a/Projectiles/Boss/IceRain.cs +++ b/Projectiles/Boss/IceRain.cs @@ -1,4 +1,6 @@ -using Microsoft.Xna.Framework; +using CalamityMod.Events; +using CalamityMod.World; +using Microsoft.Xna.Framework; using System; using System.IO; using Terraria; @@ -22,7 +24,7 @@ namespace CalamityMod.Projectiles.Boss Projectile.hostile = true; Projectile.coldDamage = true; Projectile.penetrate = -1; - Projectile.timeLeft = 300; + Projectile.timeLeft = 600; } public override void SendExtraAI(BinaryWriter writer) @@ -56,7 +58,10 @@ namespace CalamityMod.Projectiles.Boss } else if (Projectile.ai[0] == 1f) { - Projectile.aiStyle = 1; + if (Projectile.velocity.Length() < 10f) + Projectile.velocity *= (CalamityWorld.revenge || BossRushEvent.BossRushActive) ? 1.05f : 1.04f; + + Projectile.rotation = (float)Math.Atan2(Projectile.velocity.Y, Projectile.velocity.X) + MathHelper.PiOver2; for (int num322 = 0; num322 < 2; num322++) {