From b2eec01d46a6fdba53fb93b510ae01f77f24bb55 Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Sun, 21 Aug 2022 18:55:35 -0400 Subject: [PATCH] GSD cooldown is now 45 seconds --- CalPlayer/Dashes/GodslayerArmorDash.cs | 4 +++- Items/Armor/GodSlayer/GodSlayerHeadMelee.cs | 4 ++-- Items/Armor/GodSlayer/GodSlayerHeadRanged.cs | 4 ++-- Items/Armor/GodSlayer/GodSlayerHeadRogue.cs | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CalPlayer/Dashes/GodslayerArmorDash.cs b/CalPlayer/Dashes/GodslayerArmorDash.cs index 39fe29a6ec..930f5f106c 100644 --- a/CalPlayer/Dashes/GodslayerArmorDash.cs +++ b/CalPlayer/Dashes/GodslayerArmorDash.cs @@ -18,6 +18,8 @@ namespace CalamityMod.CalPlayer.Dashes { public static new string ID => "Godslayer Armor"; + public static int GodslayerCooldown = 45; + public override DashCollisionType CollisionType => DashCollisionType.ShieldSlam; public override bool IsOmnidirectional => true; @@ -63,7 +65,7 @@ namespace CalamityMod.CalPlayer.Dashes runSpeedDecelerationFactor = 0.8f; // Cooldown for God Slayer Armor dash. - player.AddCooldown(Cooldowns.GodSlayerDash.ID, CalamityUtils.SecondsToFrames(35)); + player.AddCooldown(Cooldowns.GodSlayerDash.ID, CalamityUtils.SecondsToFrames(GodslayerCooldown)); player.Calamity().godSlayerDashHotKeyPressed = false; } diff --git a/Items/Armor/GodSlayer/GodSlayerHeadMelee.cs b/Items/Armor/GodSlayer/GodSlayerHeadMelee.cs index ac9dabd793..464800a131 100644 --- a/Items/Armor/GodSlayer/GodSlayerHeadMelee.cs +++ b/Items/Armor/GodSlayer/GodSlayerHeadMelee.cs @@ -1,9 +1,9 @@ using CalamityMod.CalPlayer; +using CalamityMod.CalPlayer.Dashes; using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; -using CalamityMod.CalPlayer.Dashes; namespace CalamityMod.Items.Armor.GodSlayer { @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Armor.GodSlayer "Press " + hotkey + " while holding down the movement keys in the direction you want to dash\n" + "Enemies you dash through take massive damage\n" + "During the dash you are immune to most debuffs\n" + - "The dash has a 35 second cooldown\n" + + "The dash has a " + GodslayerArmorDash.GodslayerCooldown + " second cooldown\n" + "Enemies are more likely to target you\n" + "Taking over 80 damage in one hit will cause you to release a swarm of high-damage god killer darts\n" + "Enemies take a lot of damage when they hit you\n" + diff --git a/Items/Armor/GodSlayer/GodSlayerHeadRanged.cs b/Items/Armor/GodSlayer/GodSlayerHeadRanged.cs index 6d6714ef38..11a80ab184 100644 --- a/Items/Armor/GodSlayer/GodSlayerHeadRanged.cs +++ b/Items/Armor/GodSlayer/GodSlayerHeadRanged.cs @@ -1,9 +1,9 @@ using CalamityMod.CalPlayer; +using CalamityMod.CalPlayer.Dashes; using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; -using CalamityMod.CalPlayer.Dashes; namespace CalamityMod.Items.Armor.GodSlayer { @@ -47,7 +47,7 @@ namespace CalamityMod.Items.Armor.GodSlayer "Press " + hotkey + " while holding down the movement keys in the direction you want to dash\n" + "Enemies you dash through take massive damage\n" + "During the dash you are immune to most debuffs\n" + - "The dash has a 35 second cooldown\n" + + "The dash has a " + GodslayerArmorDash.GodslayerCooldown + " second cooldown\n" + "You fire a god killer shrapnel round while firing ranged weapons every 2.5 seconds"; if (modPlayer.godSlayerDashHotKeyPressed || (player.dashDelay != 0 && modPlayer.LastUsedDashID == GodslayerArmorDash.ID)) diff --git a/Items/Armor/GodSlayer/GodSlayerHeadRogue.cs b/Items/Armor/GodSlayer/GodSlayerHeadRogue.cs index 37a443475a..e7db213dfa 100644 --- a/Items/Armor/GodSlayer/GodSlayerHeadRogue.cs +++ b/Items/Armor/GodSlayer/GodSlayerHeadRogue.cs @@ -1,9 +1,9 @@ using CalamityMod.CalPlayer; +using CalamityMod.CalPlayer.Dashes; using CalamityMod.Items.Materials; using CalamityMod.Tiles.Furniture.CraftingStations; using Terraria; using Terraria.ModLoader; -using CalamityMod.CalPlayer.Dashes; namespace CalamityMod.Items.Armor.GodSlayer { @@ -49,7 +49,7 @@ namespace CalamityMod.Items.Armor.GodSlayer "Press " + hotkey + " while holding down the movement keys in the direction you want to dash\n" + "Enemies you dash through take massive damage\n" + "During the dash you are immune to most debuffs\n" + - "The dash has a 35 second cooldown\n" + + "The dash has a " + GodslayerArmorDash.GodslayerCooldown + " second cooldown\n" + "+120 maximum stealth\n" + "While at full HP all of your rogue stats are boosted by 10%\n" + "If you take over 80 damage in one hit you will be given extra immunity frames";