Spreaded Gladiator set bonus stats across pieces
This commit is contained in:
1 parent
63f8562cc7
commit
1566a19feb
2 files changed
+6
-11
No files matched your search
@@ -14,13 +14,14 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
|
||||
public override string ArmorSetName => "Gladiator";
|
||||
|
||||
public const int HelmetRogueDamageBoostPercent = 3;
|
||||
public const int HelmetRogueDamageBoostPercent = 8;
|
||||
public const int ChestplateRogueCritBoostPercent = 3;
|
||||
public const int LeggingRogueVelocityBoostPercent = 3;
|
||||
public const int LeggingRogueVelocityBoostPercent = 10;
|
||||
public const float SetBonusRogueStealth = 0.6f;
|
||||
|
||||
public override void UpdateSetBonusText(ref string setBonusText)
|
||||
{
|
||||
setBonusText += $"\n{CalamityUtils.GetTextValue($"Vanilla.Armor.SetBonus.{ArmorSetName}")}";
|
||||
setBonusText += $"\n{CalamityUtils.GetText($"Vanilla.Armor.SetBonus.{ArmorSetName}").Format(SetBonusRogueStealth.ToStealth())}";
|
||||
}
|
||||
|
||||
public override void ApplyHeadPieceEffect(Player player)
|
||||
@@ -40,10 +41,8 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
|
||||
public override void ApplyArmorSetBonus(Player player)
|
||||
{
|
||||
player.Calamity().rogueStealthMax += 0.6f;
|
||||
player.Calamity().rogueStealthMax += SetBonusRogueStealth;
|
||||
player.Calamity().wearingRogueArmor = true;
|
||||
player.GetDamage<ThrowingDamageClass>() += 0.05f;
|
||||
player.Calamity().rogueVelocity += 0.1f;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -48,11 +48,7 @@ SetBonus: {
|
||||
{0}% increased damage which scales based on how far the target is from you
|
||||
Closer range grants melee damage, while farther range grants ranged damage
|
||||
'''
|
||||
Gladiator:
|
||||
'''
|
||||
+60 maximum stealth
|
||||
5% increased rogue damage and 10% increased velocity
|
||||
'''
|
||||
Gladiator: +{0} maximum stealth
|
||||
Gold:
|
||||
'''
|
||||
All enemies have a {0}% chance to drop 1 extra gold
|
||||
|
||||
Reference in new issue
Block a user