From f6e25164b5fdfa9ffb199924b32bf76ecddac605 Mon Sep 17 00:00:00 2001 From: ben-tk <45545085+ben-tk@users.noreply.github.com> Date: Wed, 17 Aug 2022 16:45:00 -0400 Subject: [PATCH] fixed some bugs with Snow Coat and Gladiator armor set bonus text --- Items/VanillaArmorChanges/EskimoArmorSetChange.cs | 3 ++- Items/VanillaArmorChanges/GladiatorArmorSetChange.cs | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Items/VanillaArmorChanges/EskimoArmorSetChange.cs b/Items/VanillaArmorChanges/EskimoArmorSetChange.cs index b7aa059bbf..d4117a6918 100644 --- a/Items/VanillaArmorChanges/EskimoArmorSetChange.cs +++ b/Items/VanillaArmorChanges/EskimoArmorSetChange.cs @@ -26,7 +26,8 @@ namespace CalamityMod.Items.VanillaArmorChanges public override void UpdateSetBonusText(ref string setBonusText) { - setBonusText = "Multiplies all cold-based debuff damage by 1.25\n" + + // Not sure why it doesn't say Set bonus automatically + setBonusText = "Set bonus: Multiplies all cold-based debuff damage by 1.25\n" + "Cold enemies will deal reduced contact damage to the player\n" + "Provides immunity to the Frostburn and Glacial State debuffs"; } diff --git a/Items/VanillaArmorChanges/GladiatorArmorSetChange.cs b/Items/VanillaArmorChanges/GladiatorArmorSetChange.cs index 493a4fa005..7a82adc3b8 100644 --- a/Items/VanillaArmorChanges/GladiatorArmorSetChange.cs +++ b/Items/VanillaArmorChanges/GladiatorArmorSetChange.cs @@ -14,15 +14,13 @@ namespace CalamityMod.Items.VanillaArmorChanges public override string ArmorSetName => "Gladiator"; - public override bool NeedsToCreateSetBonusTextManually => true; - public const int HelmetRogueDamageBoostPercent = 3; public const int ChestplateRogueCritBoostPercent = 3; public const int LeggingRogueVelocityBoostPercent = 3; public override void UpdateSetBonusText(ref string setBonusText) { - setBonusText = "+3 defense\n" + + setBonusText += "\n+3 defense\n" + "5% increased rogue damage and 10% increased velocity\n" + "Rogue stealth builds while not attacking and not moving, up to a max of 70\n" + "Once you have built max stealth, you will be able to perform a Stealth Strike\n" +