diff --git a/Buffs/CalamityGlobalBuff.cs b/Buffs/CalamityGlobalBuff.cs index 14a6ba60c0..e8f4eb2b9c 100644 --- a/Buffs/CalamityGlobalBuff.cs +++ b/Buffs/CalamityGlobalBuff.cs @@ -11,7 +11,11 @@ namespace CalamityMod.Buffs { public override void Update(int type, Player player, ref int buffIndex) { - if (type == BuffID.MagicPower) + if (type == BuffID.Endurance) + { + player.endurance -= 0.05f; + } + else if (type == BuffID.MagicPower) { player.magicDamage -= 0.1f; } @@ -92,6 +96,10 @@ namespace CalamityMod.Buffs // Vanilla buffs switch (type) { + case BuffID.Endurance: + tip = "5% reduced damage"; + break; + case BuffID.MagicPower: tip = "10% increased magic damage"; break; diff --git a/Items/CalamityGlobalItemTooltip.cs b/Items/CalamityGlobalItemTooltip.cs index bf48711159..e06edf6d88 100644 --- a/Items/CalamityGlobalItemTooltip.cs +++ b/Items/CalamityGlobalItemTooltip.cs @@ -328,6 +328,10 @@ namespace CalamityMod.Items if (item.type == ItemID.SwiftnessPotion) EditTooltipByNum(0, (line) => line.text = "15% increased movement speed"); + // Nerfed Endurance Potion tooltip + if (item.type == ItemID.EndurancePotion) + EditTooltipByNum(0, (line) => line.text = "Reduces damage taken by 5%"); + // Hand Warmer provides Death Mode cold protection and has a side bonus with Eskimo armor if (item.type == ItemID.HandWarmer) {