Cooldown sprites
This commit is contained in:
1 parent
b63401897a
commit
63499b3211
10 files changed
+7
-7
No files matched your search
@@ -5636,7 +5636,7 @@ namespace CalamityMod.CalPlayer
|
||||
{
|
||||
if (blazingCoreParry >= 18) //only the first 12 frames (0.2 seconds) counts for a valid parry
|
||||
{
|
||||
if (!Player.HasCooldown(BlazingCoreCooldown.ID))
|
||||
if (!Player.HasCooldown(ElysianGuardCooldown.ID))
|
||||
{
|
||||
Player.GiveIFrames(45);
|
||||
blazingCoreEmpoweredParry = true;
|
||||
@@ -5645,7 +5645,7 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
SoundEngine.PlaySound(SoundID.Shatter);
|
||||
blazingCoreSuccessfulParry = 60;
|
||||
Player.AddCooldown(BlazingCoreCooldown.ID, 60 * 30, false); //cooldown is frames in seconds multiplied by the desired amount of seconds
|
||||
Player.AddCooldown(ElysianGuardCooldown.ID, 60 * 30, false); //cooldown is frames in seconds multiplied by the desired amount of seconds
|
||||
}
|
||||
|
||||
if (blazingCoreParry > 1)
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 401 B |
Binary file not shown.
|
Before Width: | Height: | Size: 225 B |
Binary file not shown.
|
Before Width: | Height: | Size: 164 B |
Binary file not shown.
|
After Width: | Height: | Size: 465 B |
@@ -5,12 +5,12 @@ using Terraria.Localization;
|
||||
|
||||
namespace CalamityMod.Cooldowns
|
||||
{
|
||||
public class BlazingCoreCooldown : CooldownHandler
|
||||
public class ElysianGuardCooldown : CooldownHandler
|
||||
{
|
||||
public static new string ID => "BlazingCore";
|
||||
public static new string ID => "ElysianGuard";
|
||||
public override bool ShouldDisplay => true;
|
||||
public override LocalizedText DisplayName => CalamityUtils.GetText($"UI.Cooldowns.{ID}");
|
||||
public override string Texture => "CalamityMod/Cooldowns/BlazingCore";
|
||||
public override string Texture => "CalamityMod/Cooldowns/ElysianGuard";
|
||||
public override Color OutlineColor => new Color(255, 191, 73);
|
||||
public override Color CooldownStartColor => new Color(181, 136, 177);
|
||||
public override Color CooldownEndColor => new Color(255, 194, 161);
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 215 B |
Binary file not shown.
|
After Width: | Height: | Size: 200 B |
@@ -262,7 +262,7 @@ BlazingCore: {
|
||||
Tooltip:
|
||||
'''
|
||||
The searing core of the Profaned Goddess
|
||||
Pressing [KEY] will encase you in profaned crystal
|
||||
Pressing [KEY] will activate Elysian Guard, encasing you in luminous profaned crystal
|
||||
Being hit shortly after encasement will shatter the crystal
|
||||
Upon shattering, waves of holy stars spiral outwards and the damage you would have taken is reduced to 1
|
||||
After shattering, this damage reduction effect goes on cooldown
|
||||
|
||||
@@ -76,12 +76,12 @@ Cooldowns: {
|
||||
BloodflareFrenzy: Blood Frenzy Cooldown
|
||||
BloodflareRangedSet: Bloodflare Soul Cooldown
|
||||
BrimflameFrenzy: Brimflame Frenzy Cooldown
|
||||
BlazingCore: Blazing Core Cooldown
|
||||
ChaosState: Teleportation Cooldown
|
||||
CounterScarf: Scarf Cooldown
|
||||
DivineBless: Divine Bless Cooldown
|
||||
DivingPlatesBreaking: Abyssal Diving Suit Plates Durability
|
||||
DivingPlatesBroken: Abyssal Diving Suit Broken Plates
|
||||
ElysianGuard: Elysian Guard Cooldown
|
||||
EvasionScarf: Scarf Cooldown
|
||||
FleshTotem: Contact Damage Halving Cooldown
|
||||
GlobalDodge: Dodge Cooldown
|
||||
|
||||
Reference in new issue
Block a user