vanilla stuf
reverted mana boosts from cobalt/mythril/adamantite as they instead offer mana cost reduction
This commit is contained in:
1 parent
bf64a19457
commit
d07bc00e2b
5 files changed
+1
-35
No files matched your search
@@ -932,18 +932,6 @@ namespace CalamityMod.Items
|
||||
#endregion
|
||||
|
||||
#region Hardmode Armor
|
||||
// Cobalt
|
||||
if (item.type == ItemID.CobaltHat)
|
||||
EditTooltipByNum(0, (line) => line.Text = line.Text.Replace("40", $"{CobaltArmorSetChange.MaxManaBoost + 40}"));
|
||||
|
||||
// Mythril
|
||||
if (item.type == ItemID.MythrilHood)
|
||||
EditTooltipByNum(0, (line) => line.Text = line.Text.Replace("60", $"{MythrilArmorSetChange.MaxManaBoost + 60}"));
|
||||
|
||||
// Adamantite
|
||||
if (item.type == ItemID.AdamantiteHeadgear)
|
||||
EditTooltipByNum(0, (line) => line.Text = line.Text.Replace("80", $"{AdamantiteArmorSetChange.MaxManaBoost + 80}"));
|
||||
|
||||
// Titanium
|
||||
if (item.type == ItemID.TitaniumMask)
|
||||
EditTooltipByNum(1, (line) => line.Text = line.Text.Replace("9%", "14%"));
|
||||
|
||||
@@ -116,7 +116,6 @@ namespace CalamityMod.Items
|
||||
{ ItemID.Flamelash, Do(DamageExact(36)) }, // VANILLA: 32 DMG
|
||||
{ ItemID.Flamethrower, Do(DamageExact(21), ShootSpeedDelta(+3f)) }, // VANILLA: 35 DMG, 7 VEL
|
||||
{ ItemID.FlowerofFire, Do(DamageRatio(0.78f)) }, // VANILLA: 48 DMG. Uses ratios due to remix seed
|
||||
{ ItemID.FlowerofFrost, Do(DamageExact(70), UseExact(22), ShootSpeedExact(14)) }, // VANILLA: 60 DMG, 12 UT, 9 VEL
|
||||
{ ItemID.FlyingKnife, Do(DamageExact(53)) }, // VANILLA: 40 DMG
|
||||
{ ItemID.Frostbrand, Do(UseMeleeSpeed, DamageExact(88)) }, // VANILLA: 49 DMG
|
||||
{ ItemID.Gatligator, Do(UseExact(6)) }, // VANILLA: 7 UT
|
||||
@@ -146,7 +145,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.KOCannon, Do(DamageRatio(2.65f)) }, // VANILLA: 40 DMG. Uses ratios due to remix seed
|
||||
{ ItemID.Kraken, Do(DamageExact(65)) }, // VANILLA: 95 DMG
|
||||
{ ItemID.LaserMachinegun, Do(DamageExact(49)) }, // VANILLA: 60 DMG
|
||||
{ ItemID.LaserRifle, Do(DamageExact(46), UseExact(10)) }, // VANILLA: 29 DMG, 12 UT
|
||||
{ ItemID.LaserRifle, Do(DamageExact(46)) }, // VANILLA: 29 DMG
|
||||
{ ItemID.LastPrism, Do(DamageExact(57)) }, // VANILLA: 100 DMG
|
||||
{ ItemID.LeadShortsword, Do(TrueMelee, DamageExact(11)) }, // VANILLA: 9 DMG
|
||||
{ ItemID.LeafBlower, Do(DamageExact(61)) }, // VANILLA: 48 DMG
|
||||
|
||||
@@ -17,18 +17,11 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
|
||||
public override string ArmorSetName => "Adamantite";
|
||||
|
||||
public const int MaxManaBoost = 20;
|
||||
public const int DefenseBoostMax = 10;
|
||||
public const int TimeUntilDecayBeginsAfterAttacking = 60;
|
||||
public const int TimeUntilBoostCompletelyDecays = 210; // Unlisted use: this is also the amount of hits to max out defense.
|
||||
public const int CritToDRConversionPercent = 25;
|
||||
|
||||
public override void ApplyHeadPieceEffect(Player player)
|
||||
{
|
||||
if (player.armor[0].type == ItemID.AdamantiteHeadgear)
|
||||
player.statManaMax2 += MaxManaBoost;
|
||||
}
|
||||
|
||||
public override void UpdateSetBonusText(ref string setBonusText)
|
||||
{
|
||||
Player player = Main.LocalPlayer;
|
||||
|
||||
@@ -18,16 +18,9 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
public override string ArmorSetName => "Cobalt";
|
||||
|
||||
public const int SpeedBoostSetBonusPercentage = 10;
|
||||
public const int MaxManaBoost = 20;
|
||||
public const int MovementSpeedBoostPercentageMax = 10;
|
||||
public const int MovementSpeedBoostMphThreshold = 80;
|
||||
|
||||
public override void ApplyHeadPieceEffect(Player player)
|
||||
{
|
||||
if (player.armor[0].type == ItemID.CobaltHat)
|
||||
player.statManaMax2 += MaxManaBoost;
|
||||
}
|
||||
|
||||
public override void UpdateSetBonusText(ref string setBonusText)
|
||||
{
|
||||
Player player = Main.LocalPlayer;
|
||||
|
||||
@@ -18,7 +18,6 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
|
||||
public override string ArmorSetName => "Mythril";
|
||||
|
||||
public const int MaxManaBoost = 20;
|
||||
public const int FlareFrameSpawnDelay = 12;
|
||||
public const int FlareDamageSoftcap = 40;
|
||||
|
||||
@@ -27,12 +26,6 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
setBonusText += $"\n{CalamityUtils.GetText($"Vanilla.Armor.SetBonus.{ArmorSetName}").Format(FlareFrameSpawnDelay)}";
|
||||
}
|
||||
|
||||
public override void ApplyHeadPieceEffect(Player player)
|
||||
{
|
||||
if (player.armor[0].type == ItemID.MythrilHood)
|
||||
player.statManaMax2 += MaxManaBoost;
|
||||
}
|
||||
|
||||
public override void ApplyArmorSetBonus(Player player)
|
||||
{
|
||||
player.Calamity().MythrilSet = true;
|
||||
|
||||
Reference in new issue
Block a user