From e04a17e7d4e1c8ea1fe876cd29a2ccbb293e8e30 Mon Sep 17 00:00:00 2001 From: Andrew Marheine Date: Fri, 5 Nov 2021 17:57:28 -0500 Subject: [PATCH] 1 - God Slayer Dash cooldown increased to 35 seconds. 2 - Thanatos resists true melee by 65%. 3 - Ares resists Murasama by 50%. --- CalPlayer/CalamityPlayer.cs | 2 +- NPCs/CalamityGlobalNPC.cs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 48e356982f..c11fc4a73a 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -8833,7 +8833,7 @@ namespace CalamityMod.CalPlayer // Cooldown for God Slayer Armor dash if (dashMod == 9) { - player.AddBuff(ModContent.BuffType(), CalamityUtils.SecondsToFrames(20f)); + player.AddBuff(ModContent.BuffType(), CalamityUtils.SecondsToFrames(35f)); godSlayerDashHotKeyPressed = false; } diff --git a/NPCs/CalamityGlobalNPC.cs b/NPCs/CalamityGlobalNPC.cs index a46b9c0f82..716e2d7c25 100644 --- a/NPCs/CalamityGlobalNPC.cs +++ b/NPCs/CalamityGlobalNPC.cs @@ -3364,7 +3364,7 @@ namespace CalamityMod.NPCs AstrumDeusIDs.Contains(npc.type) || StormWeaverIDs.Contains(npc.type) || ThanatosIDs.Contains(npc.type) || npc.type == NPCType() || npc.type == NPCType() || AresIDs.Contains(npc.type)) { - double damageMult = AresIDs.Contains(npc.type) ? 0.75 : 0.5; + double damageMult = AresIDs.Contains(npc.type) ? 0.75 : ThanatosIDs.Contains(npc.type) ? 0.35 : 0.5; if (item.melee && item.type != ItemType() && item.type != ItemType()) damage = (int)(damage * damageMult); } @@ -3493,9 +3493,9 @@ namespace CalamityMod.NPCs if (AresIDs.Contains(npc.type)) { - // 25% resist to true melee. + // 25% resist to true melee and 50% resist to Murasama. if (projectile.Calamity().trueMelee) - damage = (int)(damage * 0.75); + damage = (int)(damage * (projectile.type == ProjectileType() ? 0.5 : 0.75)); // 20% resist to Eclipse's Fall stealth strike. else if (projectile.type == ProjectileType()) @@ -3513,9 +3513,9 @@ namespace CalamityMod.NPCs if (projectile.type == ProjectileType() || projectile.type == ProjectileType()) damage = (int)(damage * 0.25); - // 50% resist to true melee. + // 65% resist to true melee. else if (projectile.Calamity().trueMelee) - damage = (int)(damage * 0.5); + damage = (int)(damage * 0.35); // 40% resist to Wrathwing stealth strike. else if (projectile.type == ProjectileType())