diff --git a/NPCs/HiveMind/DarkHeart.cs b/NPCs/HiveMind/DarkHeart.cs index 9d4e8db3e6..56c9153f18 100644 --- a/NPCs/HiveMind/DarkHeart.cs +++ b/NPCs/HiveMind/DarkHeart.cs @@ -89,7 +89,7 @@ namespace CalamityMod.NPCs.HiveMind acceleration *= 2f; } - if (NPC.position.Y > Main.player[NPC.target].position.Y - 350f) + if (NPC.position.Y > Main.player[NPC.target].position.Y - 400f) { if (NPC.velocity.Y > 0f) NPC.velocity.Y *= deceleration; @@ -104,7 +104,7 @@ namespace CalamityMod.NPCs.HiveMind NPC.velocity.Y = MathHelper.Clamp(NPC.velocity.Y + acceleration, -velocity, velocity * 1.5f); } - bool dropRain = NPC.Bottom.Y < Main.player[NPC.target].position.Y - 300f && Collision.CanHit(NPC.position, NPC.width, NPC.height, Main.player[NPC.target].position, Main.player[NPC.target].width, Main.player[NPC.target].height); + bool dropRain = NPC.Bottom.Y < Main.player[NPC.target].position.Y - 350f && Collision.CanHit(NPC.position, NPC.width, NPC.height, Main.player[NPC.target].position, Main.player[NPC.target].width, Main.player[NPC.target].height); float distanceX = masterMode ? 200f : 400f; if (NPC.Center.X > Main.player[NPC.target].Center.X + distanceX) { @@ -128,7 +128,7 @@ namespace CalamityMod.NPCs.HiveMind if (dropRain && Main.netMode != NetmodeID.MultiplayerClient) { NPC.ai[0] += 1f; - float rainDropRate = Main.getGoodWorld ? 10f : death ? 20f : revenge ? 25f : 30f; + float rainDropRate = Main.getGoodWorld ? 10f : death ? 15f : revenge ? 20f : 30f; if (NPC.ai[0] >= rainDropRate) { NPC.ai[0] = 0f; @@ -146,7 +146,7 @@ namespace CalamityMod.NPCs.HiveMind public override void OnKill() { int closestPlayer = Player.FindClosest(NPC.Center, 1, 1); - if (Main.rand.NextBool(4) && Main.player[closestPlayer].statLife < Main.player[closestPlayer].statLifeMax2) + if (Main.player[closestPlayer].statLife < Main.player[closestPlayer].statLifeMax2) Item.NewItem(NPC.GetSource_Loot(), (int)NPC.position.X, (int)NPC.position.Y, NPC.width, NPC.height, ItemID.Heart); } diff --git a/NPCs/HiveMind/HiveMind.cs b/NPCs/HiveMind/HiveMind.cs index b27a812680..afca084166 100644 --- a/NPCs/HiveMind/HiveMind.cs +++ b/NPCs/HiveMind/HiveMind.cs @@ -771,7 +771,7 @@ namespace CalamityMod.NPCs.HiveMind if (nextState == 0) { NPC.TargetClosest(); - if (revenge && lifeRatio < 0.5f) + if (revenge && lifeRatio < 0.6f) { if (death) { @@ -780,7 +780,7 @@ namespace CalamityMod.NPCs.HiveMind while (nextState == previousState); previousState = nextState; } - else if (lifeRatio < 0.25f) + else if (lifeRatio < 0.3f) { do nextState = Main.rand.Next(3, 6); @@ -948,7 +948,7 @@ namespace CalamityMod.NPCs.HiveMind NPC.velocity = Vector2.Zero; dashStarted = false; - if (revenge && lifeRatio < 0.53f && lungesPerformed == 0 && rainDashesPerformed == 0) + if (revenge && lifeRatio < 0.6f && lungesPerformed == 0 && rainDashesPerformed == 0) { state = nextState; nextState = 0; @@ -1273,8 +1273,8 @@ namespace CalamityMod.NPCs.HiveMind if (Main.netMode != NetmodeID.MultiplayerClient) { - int x = (int)(NPC.position.X + Main.rand.Next(NPC.width - 32)); - int y = (int)(NPC.position.Y + Main.rand.Next(NPC.height - 32)); + int x = (int)(NPC.position.X + Main.rand.Next(NPC.width)); + int y = (int)(NPC.position.Y + Main.rand.Next(NPC.height)); int type = ModContent.NPCType(); int tenPercentMinions = NPC.NewNPC(NPC.GetSource_FromAI(), x, y, type); Main.npc[tenPercentMinions].SetDefaults(type);