diff --git a/NPCs/CalamityGlobalAI.cs b/NPCs/CalamityGlobalAI.cs index 7550ca2350..86c2c325b7 100644 --- a/NPCs/CalamityGlobalAI.cs +++ b/NPCs/CalamityGlobalAI.cs @@ -2639,7 +2639,10 @@ namespace CalamityMod.NPCs #endregion // Master Mode changes - // 1 - Always has 1 added to her enrage scale, 2 - Fires beehives instead of bees during bee spawn phase + /* 1 - Fires beehives in bee spawn phase instead of bees + 2 - + 3 - Creepers spread out from each other + 4 - Creepers are immune to debuffs*/ #region Buffed Queen Bee AI public static bool BuffedQueenBeeAI(NPC npc, Mod mod) { diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index b240b410d2..876b5e08ab 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -3709,10 +3709,10 @@ namespace CalamityMod.NPCs if (spawnInfo.playerSafe) return; - if (!Main.hardMode && spawnInfo.player.ZoneUnderworldHeight) + if (!Main.hardMode && spawnInfo.player.ZoneUnderworldHeight && !calamityBiomeZone) { if (!NPC.AnyNPCs(NPCID.VoodooDemon)) - pool[NPCID.VoodooDemon] = SpawnCondition.Underworld.Chance * 1.5f; + pool[NPCID.VoodooDemon] = SpawnCondition.Underworld.Chance * 1.25f; } } #endregion diff --git a/NPCs/StormWeaver/StormWeaverHeadNaked.cs b/NPCs/StormWeaver/StormWeaverHeadNaked.cs index 14e450ec2f..1b0f839b46 100644 --- a/NPCs/StormWeaver/StormWeaverHeadNaked.cs +++ b/NPCs/StormWeaver/StormWeaverHeadNaked.cs @@ -189,13 +189,18 @@ namespace CalamityMod.NPCs.StormWeaver if (expertMode) { npc.localAI[0] += 1f; - if (npc.localAI[0] >= 300f) + if (npc.localAI[0] >= 450f) { npc.localAI[0] = 0f; npc.TargetClosest(true); npc.netUpdate = true; - float xPos = Main.rand.NextBool(2) ? Main.player[npc.target].position.X + 500f : Main.player[npc.target].position.X - 500f; - Vector2 spawnPos = new Vector2(xPos, Main.player[npc.target].position.Y + Main.rand.Next(-500, 501)); + + int random = Main.rand.Next(250, 501); + float xPos = Main.rand.NextBool(2) ? Main.player[npc.target].position.X + random : Main.player[npc.target].position.X - random; + random = Main.rand.Next(250, 501); + float yPos = Main.rand.NextBool(2) ? Main.player[npc.target].position.Y + random : Main.player[npc.target].position.Y - random; + Vector2 spawnPos = new Vector2(xPos, yPos); + int type = ProjectileID.CultistBossLightningOrb; int damage = npc.GetProjectileDamage(type); Projectile.NewProjectile(spawnPos, Vector2.Zero, type, damage, 0f, Main.myPlayer, 0f, 0f); @@ -295,7 +300,7 @@ namespace CalamityMod.NPCs.StormWeaver num188 += Vector2.Distance(Main.player[npc.target].Center, npc.Center) * 0.01f * (1f - (float)lifeRatio); num189 += Vector2.Distance(Main.player[npc.target].Center, npc.Center) * 0.0001f * (1f - (float)lifeRatio); num188 *= 2f; - num189 *= 0.75f; + num189 *= 0.85f; float stopChargeDistance = 800f * npc.localAI[2]; if (stopChargeDistance < 0) @@ -362,9 +367,9 @@ namespace CalamityMod.NPCs.StormWeaver { speed2 += 1; } - float spawnX2 = Main.rand.Next(2001) - 1000f + Main.player[npc.target].Center.X; + float spawnX2 = npc.Center.X > Main.player[npc.target].Center.X ? 1000f : -1000f; float spawnY2 = -1000f + Main.player[npc.target].Center.Y; - Vector2 baseSpawn = new Vector2(spawnX2, spawnY2); + Vector2 baseSpawn = new Vector2(spawnX2 + Main.player[npc.target].Center.X, spawnY2); Vector2 baseVelocity = Main.player[npc.target].Center - baseSpawn; baseVelocity.Normalize(); baseVelocity *= speed2;