Files
CalamityModPublic/Items/VanillaArmorChanges/GladiatorArmorSetChange.cs
T
ben-tk bedcf56a86 Various rogue/summon balance changes
1. Reverted Sand Cloak cooldown to 30 seconds
2. Changed Ink Bomb cooldown to 20 seconds
3. Nerfed Dark God's Sheath and Eclipse Mirror stealth acceleration bonuses
4. Nerfed Dragon Scales tornado damage
5. Nerfed Abyssal Mirror stealth regen
6. Buffed Eclipse mirror standing still regen
7. Nerfed Mirage Mirror stealth regen
8. Nerfed Spectral veil stealth regen while moving, now increases stealth regen while standing still
9. Nerfed max stealth of aerospec, statigel, sulphurous, victide, and gladiator armors
10. Buffed Magic Missile damage
11. Nerfed Scuttler's Jewel
12. Made Vigilance projectiles less opaque
13. Reduced the amount of laughs from Vigilance seekers
14. Increased the speed of Perdition's projectiles
2022-09-28 15:36:51 -04:00

53 lines
1.8 KiB
C#

using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.VanillaArmorChanges
{
public class GladiatorArmorSetChange : VanillaArmorChange
{
public override int? HeadPieceID => ItemID.GladiatorHelmet;
public override int? BodyPieceID => ItemID.GladiatorBreastplate;
public override int? LegPieceID => ItemID.GladiatorLeggings;
public override string ArmorSetName => "Gladiator";
public const int HelmetRogueDamageBoostPercent = 3;
public const int ChestplateRogueCritBoostPercent = 3;
public const int LeggingRogueVelocityBoostPercent = 3;
public override void UpdateSetBonusText(ref string setBonusText)
{
setBonusText += "\n+3 defense\n" +
"+60 maximum stealth\n" +
"5% increased rogue damage and 10% increased velocity";
}
public override void ApplyHeadPieceEffect(Player player)
{
player.GetDamage<ThrowingDamageClass>() += HelmetRogueDamageBoostPercent * 0.01f;
}
public override void ApplyBodyPieceEffect(Player player)
{
player.GetCritChance<ThrowingDamageClass>() += ChestplateRogueCritBoostPercent;
}
public override void ApplyLegPieceEffect(Player player)
{
player.Calamity().rogueVelocity += LeggingRogueVelocityBoostPercent * 0.01f;
}
public override void ApplyArmorSetBonus(Player player)
{
player.Calamity().rogueStealthMax += 0.6f;
player.Calamity().wearingRogueArmor = true;
player.GetDamage<ThrowingDamageClass>() += 0.05f;
player.Calamity().rogueVelocity += 0.1f;
player.statDefense += 3;
}
}
}