Files
CalamityModPublic/Cooldowns/FleshTotem.cs
T
Ozzatron 86b26da496 1 - Implemented Chalice of the Blood God bleedout buffer function.
2 - Removed +25% healing potion power from CotBG, it would be too strong with the half buffer clear.
3 - Removed CotBG skin for Flesh Totem cooldown, since it's no longer inherited.
4 - Added a flavor tooltip for Chalice of the Blood God.
5 - Added 18 death messages for Chalice of the Blood God, since you will only see those while using it.
6 - Added a special death message for dying to the last few points of a Chalice bleed.
7 - Added a special death message for dying due to unequipping Chalice of the Blood God.
2023-11-19 16:02:20 -05:00

46 lines
1.7 KiB
C#

using Microsoft.Xna.Framework;
using Terraria.Localization;
namespace CalamityMod.Cooldowns
{
public class FleshTotem : CooldownHandler
{
public static new string ID => "FleshTotem";
public override bool ShouldDisplay => true;
public override LocalizedText DisplayName => CalamityUtils.GetText($"UI.Cooldowns.{ID}");
public override string Texture => "CalamityMod/Cooldowns/" + skinTexture;
public override Color OutlineColor => outlineColor;
public override Color CooldownStartColor => cooldownColorStart;
public override Color CooldownEndColor => cooldownColorEnd;
//It's the same cooldown with different skins each time, basically.
public string skinTexture;
public Color outlineColor;
public Color cooldownColorStart;
public Color cooldownColorEnd;
public FleshTotem() : this("") { }
public FleshTotem(string skin)
{
switch (skin)
{
// TODO -- UNUSED, Core of the Blood God no longer exists.
case "bloodgod":
skinTexture = "BloodGodTotem";
outlineColor = new Color(255, 162, 205);
cooldownColorStart = new Color(193, 205, 255);
cooldownColorEnd = new Color(255, 193, 219);
break;
default:
skinTexture = "FleshTotem";
outlineColor = new Color(157, 248, 234);
cooldownColorStart = new Color(111, 169, 241);
cooldownColorEnd = new Color(111, 169, 241);
break;
}
}
}
}