diff --git a/Gores/ProfanedGuardianBossGores/ProfanedRocksGore1.png b/Gores/ProfanedGuardianBossGores/ProfanedRocksGore1.png index 254835aa79..b04bbdf7c9 100644 Binary files a/Gores/ProfanedGuardianBossGores/ProfanedRocksGore1.png and b/Gores/ProfanedGuardianBossGores/ProfanedRocksGore1.png differ diff --git a/Gores/ProfanedGuardianBossGores/ProfanedRocksGore2.png b/Gores/ProfanedGuardianBossGores/ProfanedRocksGore2.png index cdddcabc29..89c21f7f9c 100644 Binary files a/Gores/ProfanedGuardianBossGores/ProfanedRocksGore2.png and b/Gores/ProfanedGuardianBossGores/ProfanedRocksGore2.png differ diff --git a/Gores/ProfanedGuardianBossGores/ProfanedRocksGore3.png b/Gores/ProfanedGuardianBossGores/ProfanedRocksGore3.png index 4bc5c9cb4b..bad23fe72d 100644 Binary files a/Gores/ProfanedGuardianBossGores/ProfanedRocksGore3.png and b/Gores/ProfanedGuardianBossGores/ProfanedRocksGore3.png differ diff --git a/Gores/ProfanedGuardianBossGores/ProfanedRocksGore4.png b/Gores/ProfanedGuardianBossGores/ProfanedRocksGore4.png index c3f3b6c84c..44421a5bc9 100644 Binary files a/Gores/ProfanedGuardianBossGores/ProfanedRocksGore4.png and b/Gores/ProfanedGuardianBossGores/ProfanedRocksGore4.png differ diff --git a/Gores/ProfanedGuardianBossGores/ProfanedRocksGore5.png b/Gores/ProfanedGuardianBossGores/ProfanedRocksGore5.png index ecc5df8462..528073d491 100644 Binary files a/Gores/ProfanedGuardianBossGores/ProfanedRocksGore5.png and b/Gores/ProfanedGuardianBossGores/ProfanedRocksGore5.png differ diff --git a/Gores/ProfanedGuardianBossGores/ProfanedRocksGore6.png b/Gores/ProfanedGuardianBossGores/ProfanedRocksGore6.png index b68f2a1f52..a4fe8a2329 100644 Binary files a/Gores/ProfanedGuardianBossGores/ProfanedRocksGore6.png and b/Gores/ProfanedGuardianBossGores/ProfanedRocksGore6.png differ diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs b/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs index c8446a4550..3991528216 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianCommander.cs @@ -362,7 +362,7 @@ namespace CalamityMod.NPCs.ProfanedGuardians if (Main.getGoodWorld) velocity *= 1.25f; - float distanceToStayAwayFromTarget = 720f; + float distanceToStayAwayFromTarget = healerAlive ? 800f : defenderAlive ? 720f : 600f; Vector2 destination = player.Center + Vector2.UnitX * distanceToStayAwayFromTarget * -NPC.direction; Vector2 targetVector = destination - NPC.Center; Vector2 desiredVelocity = targetVector.SafeNormalize(new Vector2(NPC.direction, 0f)) * velocity; @@ -389,33 +389,33 @@ namespace CalamityMod.NPCs.ProfanedGuardians if (phase1) { // Fire a few extra spears and holy fires after the healer is dead and the defender is defending the commander - bool fireExtraSpears = false; + bool fireExtraProjectiles = false; if (defenderAlive) { if (Main.npc[CalamityGlobalNPC.doughnutBossDefender].ai[0] == 1f) - fireExtraSpears = true; + fireExtraProjectiles = true; } - bool shootSpears = NPC.ai[2] % (projectileShootGateValue * 2f) == 0f; - float spearVelocity = (bossRush || biomeEnraged) ? 11f : death ? 10f : revenge ? 9.5f : expertMode ? 9f : 8f; - Vector2 finalSpearVelocity = Vector2.Normalize(player.Center - shootFrom) * spearVelocity; + bool shootProjectiles = NPC.ai[2] % (projectileShootGateValue * 2f) == 0f; + float projectileVelocity = (bossRush || biomeEnraged) ? 16f : death ? 14f : revenge ? 13f : expertMode ? 12f : 10f; + Vector2 finalProjectileVelocity = Vector2.Normalize(player.Center - shootFrom) * projectileVelocity; + int type = shootProjectiles ? ModContent.ProjectileType() : ModContent.ProjectileType(); + int damage = NPC.GetProjectileDamage(type); + + if (type == ModContent.ProjectileType()) + finalProjectileVelocity *= 0.5f; for (int k = 0; k < totalDustPerProjectile; k++) - Dust.NewDust(shootFrom, 30, 30, (int)CalamityDusts.ProfanedFire, finalSpearVelocity.X, finalSpearVelocity.Y, 0, default, 1f); + Dust.NewDust(shootFrom, 30, 30, (int)CalamityDusts.ProfanedFire, finalProjectileVelocity.X, finalProjectileVelocity.Y, 0, default, 1f); - int type = shootSpears ? ModContent.ProjectileType() : ModContent.ProjectileType(); - int damage = NPC.GetProjectileDamage(type); - if (Main.netMode != NetmodeID.MultiplayerClient) - Projectile.NewProjectile(NPC.GetSource_FromAI(), shootFrom, finalSpearVelocity, type, damage, 0f, Main.myPlayer); - - if (fireExtraSpears) + if (fireExtraProjectiles) { int baseProjectileAmt = (bossRush || biomeEnraged) ? 4 : 2; int spread = (bossRush || biomeEnraged) ? 18 : 10; float rotation = MathHelper.ToRadians(spread); for (int i = 0; i < baseProjectileAmt; i++) { - Vector2 perturbedSpeed = finalSpearVelocity.RotatedBy(MathHelper.Lerp(-rotation, rotation, i / (float)(baseProjectileAmt - 1))); + Vector2 perturbedSpeed = finalProjectileVelocity.RotatedBy(MathHelper.Lerp(-rotation, rotation, i / (float)(baseProjectileAmt - 1))); for (int k = 0; k < totalDustPerProjectile; k++) Dust.NewDust(shootFrom, 30, 30, (int)CalamityDusts.ProfanedFire, perturbedSpeed.X, perturbedSpeed.Y, 0, default, 1f); @@ -424,6 +424,8 @@ namespace CalamityMod.NPCs.ProfanedGuardians Projectile.NewProjectile(NPC.GetSource_FromAI(), shootFrom, perturbedSpeed, type, damage, 0f, Main.myPlayer); } } + else if (Main.netMode != NetmodeID.MultiplayerClient) + Projectile.NewProjectile(NPC.GetSource_FromAI(), shootFrom, finalProjectileVelocity, type, damage, 0f, Main.myPlayer); } else { diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs b/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs index f62a9abf75..a54e486427 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianDefender.cs @@ -421,7 +421,8 @@ namespace CalamityMod.NPCs.ProfanedGuardians } // Defend the commander - Vector2 distanceFromDestination = Main.npc[CalamityGlobalNPC.doughnutBoss].Center - NPC.Center; + float distanceInFrontOfCommander = 120f; + Vector2 distanceFromDestination = Main.npc[CalamityGlobalNPC.doughnutBoss].Center + Vector2.UnitX * distanceInFrontOfCommander * Main.npc[CalamityGlobalNPC.doughnutBoss].direction - NPC.Center; Vector2 desiredVelocity = distanceFromDestination.SafeNormalize(new Vector2(NPC.direction, 0f)) * (Main.npc[CalamityGlobalNPC.doughnutBoss].velocity.Length() + 3f); if (distanceFromDestination.Length() > 80f) { diff --git a/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs b/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs index 0a0d8f041b..27cf0686e0 100644 --- a/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs +++ b/NPCs/ProfanedGuardians/ProfanedGuardianHealer.cs @@ -67,7 +67,7 @@ namespace CalamityMod.NPCs.ProfanedGuardians NPC.height = 164; NPC.defense = 30; NPC.DR_NERD(0.2f); - NPC.LifeMaxNERB(25000, 30000, 20000); + NPC.LifeMaxNERB(50000, 60000, 40000); double HPBoost = CalamityConfig.Instance.BossHealthBoost * 0.01; NPC.lifeMax += (int)(NPC.lifeMax * HPBoost); NPC.knockBackResist = 0f; @@ -97,7 +97,7 @@ namespace CalamityMod.NPCs.ProfanedGuardians }); } - public float GetStarShootSlowDownGateValue() => BossRushEvent.BossRushActive ? 240f : CalamityWorld.death ? 280f : CalamityWorld.revenge ? 300f : Main.expertMode ? 320f : 360f; + public float GetStarShootSlowDownGateValue() => BossRushEvent.BossRushActive ? 180f : CalamityWorld.death ? 210f : CalamityWorld.revenge ? 225f : Main.expertMode ? 240f : 270f; public float GetStarShootGateValue() => GetStarShootSlowDownGateValue() + 60f; @@ -235,7 +235,7 @@ namespace CalamityMod.NPCs.ProfanedGuardians { // Increment timer AITimer += 1f; - float crystalShootGateValue = bossRush ? 240f : death ? 280f : revenge ? 300f : expertMode ? 320f : 360f; + float crystalShootGateValue = bossRush ? 180f : death ? 210f : revenge ? 225f : expertMode ? 240f : 270f; float crystalShootPhaseDuration = crystalShootGateValue + 120f; // Generate dust that scales with how close the crystals are to firing diff --git a/NPCs/ProfanedGuardians/ProfanedRocks.cs b/NPCs/ProfanedGuardians/ProfanedRocks.cs index a56179de22..1e504d3376 100644 --- a/NPCs/ProfanedGuardians/ProfanedRocks.cs +++ b/NPCs/ProfanedGuardians/ProfanedRocks.cs @@ -22,7 +22,7 @@ namespace CalamityMod.NPCs.ProfanedGuardians private double distance = MinDistance; private const double MinMaxDistance = 300D; - public const int MaxHP = 12000; + public const int MaxHP = 8000; public const int MaxBossRushHP = 20000; public override void SetStaticDefaults() @@ -151,7 +151,7 @@ namespace CalamityMod.NPCs.ProfanedGuardians Player player = Main.player[Main.npc[CalamityGlobalNPC.doughnutBoss].target]; // Distance the rock travels before it starts to fall down - float maxChargeDistance = 2400f; + float maxChargeDistance = 4000f; float chargeSpeed = bossRush ? 20f : death ? 18f : revenge ? 17f : expertMode ? 16f : 14f; float fallDownGateValue = maxChargeDistance / chargeSpeed;