From de051dc98f4e864959e686d6397cf4f8f5da9d7d Mon Sep 17 00:00:00 2001 From: Nathanael Overton Date: Sun, 13 Jul 2025 15:23:49 -0400 Subject: [PATCH] Small Duke nerfs --- .../Bosses/DukeFishronAI.cs | 26 +++---------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/NPCs/VanillaNPCAIOverrides/Bosses/DukeFishronAI.cs b/NPCs/VanillaNPCAIOverrides/Bosses/DukeFishronAI.cs index ddb1421ec3..3c0bb9f3fb 100644 --- a/NPCs/VanillaNPCAIOverrides/Bosses/DukeFishronAI.cs +++ b/NPCs/VanillaNPCAIOverrides/Bosses/DukeFishronAI.cs @@ -82,7 +82,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses idlePhaseAcceleration *= 1.05f; idlePhaseVelocity *= 1.08f; chargeTime -= 1; - chargeVelocity *= 1.13f; + chargeVelocity *= 1.1f; } if (CalamityWorld.LegendaryMode) @@ -177,11 +177,8 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses if (death) { - idlePhaseTimer -= 6; - idlePhaseAcceleration *= 1.2f; - idlePhaseVelocity *= 1.2f; - chargeTime -= 4; - chargeVelocity += 3f; + chargeTime -= 2; + chargeVelocity += 1f; } if (CalamityWorld.LegendaryMode) @@ -413,7 +410,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses if (enrage) npc.ai[2] = sharknadoPhaseTimer - 40; else if (death) - npc.ai[2] = sharknadoPhaseTimer - 60; + npc.ai[2] = sharknadoPhaseTimer - 40; } // Go to phase 2 @@ -1009,21 +1006,6 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses Main.dust[phase3ChargeDust].velocity -= npc.velocity; } - // Spawn bubbles during charge in Master Mode (these bubbles have special behavior that makes them float upward, doing no damage, before returning to their normal behavior) - if (death && phase4) - { - if (npc.ai[2] % (bubbleBelchPhaseDivisor * 2) == 0f) - { - SoundEngine.PlaySound(SoundID.NPCDeath19, npc.Center); - - if (Main.netMode != NetmodeID.MultiplayerClient) - { - Vector2 bubbleSpawnDirection = Vector2.Normalize(player.Center - npc.Center) * (npc.width + 20) / 2f + npc.Center; - NPC.NewNPC(npc.GetSource_FromAI(), (int)bubbleSpawnDirection.X, (int)bubbleSpawnDirection.Y + 45, NPCID.DetonatingBubble, 0, 0f, -60f); - } - } - } - npc.ai[2] += 1f; if (npc.ai[2] >= chargeTime) {