GSD cooldown is now 45 seconds

This commit is contained in:
ben-tk committed 2022-08-21 18:55:35 -04:00
1 parent 3fad380f1e
commit b2eec01d46
4 files changed
+9 -7

No files matched your search

+3 -1
View File
@@ -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;
}
+2 -2
View File
@@ -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" +
+2 -2
View File
@@ -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))
+2 -2
View File
@@ -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";