hot/cold tooltips lole haha death
This commit is contained in:
1 parent
906e65ff06
commit
84db7680cc
46 files changed
+159
-46
No files matched your search
@@ -1,3 +1,4 @@
|
||||
using CalamityMod.Buffs.StatBuffs;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Buffs.Summon;
|
||||
using CalamityMod.CalPlayer;
|
||||
@@ -107,9 +108,21 @@ namespace CalamityMod.Buffs
|
||||
else if (type == BuffID.CursedInferno && CalamityWorld.revenge)
|
||||
tip += ". All damage taken increased by 20%";
|
||||
else if (type == BuffID.Warmth)
|
||||
{
|
||||
tip += ". Immunity to the Chilled, Frozen, and Glacial State debuffs";
|
||||
if (CalamityWorld.death)
|
||||
tip += ". Provides cold protection in Death Mode";
|
||||
}
|
||||
else if (type == BuffID.Invisibility)
|
||||
tip += ". Grants rogue bonuses while holding certain rogue weapons";
|
||||
else if (type == BuffID.ObsidianSkin && CalamityWorld.death)
|
||||
tip += ". Provides heat protection in Death Mode";
|
||||
else if (type == BuffID.Inferno && CalamityWorld.death)
|
||||
tip += ". Provides cold protection in Death Mode";
|
||||
else if (type == BuffID.Campfire && CalamityWorld.death)
|
||||
tip += ". Provides cold protection in Death Mode";
|
||||
else if (type == ModContent.BuffType<Molten>() && CalamityWorld.death)
|
||||
tip += ". Provides cold protection in Death Mode";
|
||||
else if (type == ModContent.BuffType<ProfanedBabs>())
|
||||
{
|
||||
Player player = Main.player[Main.myPlayer];
|
||||
|
||||
@@ -378,12 +378,12 @@ namespace CalamityMod.CalPlayer
|
||||
&& (player.legs == ArmorIDs.Legs.EskimoPants || player.legs == ArmorIDs.Legs.PinkEskimoPants);
|
||||
|
||||
bool immunityToHotAndCold = hasMoltenSet || player.magmaStone || player.frostArmor || modPlayer.fBulwark || modPlayer.fBarrier ||
|
||||
modPlayer.frostFlare || modPlayer.rampartOfDeities || modPlayer.cryogenSoul || modPlayer.snowman || modPlayer.blazingCore;
|
||||
modPlayer.frostFlare || modPlayer.rampartOfDeities || modPlayer.cryogenSoul || modPlayer.snowman || modPlayer.blazingCore || modPlayer.permafrostsConcoction;
|
||||
|
||||
bool immunityToCold = player.HasBuff(BuffID.Campfire) || Main.campfire || player.resistCold || hasEskimoSet || player.buffImmune[BuffID.Frozen] ||
|
||||
player.HasBuff(BuffID.Inferno) || immunityToHotAndCold || modPlayer.externalColdImmunity;
|
||||
|
||||
bool immunityToHot = player.lavaImmune || player.lavaRose || player.lavaMax != 0 || immunityToHotAndCold || modPlayer.externalHeatImmunity;
|
||||
bool immunityToHot = player.lavaImmune || player.lavaRose || player.lavaMax > 0 || immunityToHotAndCold || modPlayer.externalHeatImmunity;
|
||||
|
||||
// Thorn and spike effects
|
||||
// 10 = crimson/corruption thorns, 17 = jungle thorns, 40 = dungeon spikes, 60 = temple spikes
|
||||
|
||||
@@ -16,7 +16,8 @@ namespace CalamityMod.Items.Accessories
|
||||
"5% increased damage reduction and increased life regen\n" +
|
||||
"Poison, Freeze, Chill, Frostburn, and Venom immunity\n" +
|
||||
"Honey-like life regen with no speed penalty\n" +
|
||||
"Most bee/hornet enemies and projectiles do 75% damage to you");
|
||||
"Most bee/hornet enemies and projectiles do 75% damage to you\n" +
|
||||
"Provides cold protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -15,7 +15,8 @@ namespace CalamityMod.Items.Accessories
|
||||
Tooltip.SetDefault("Extreme speed!\n" +
|
||||
"Greater mobility on ice\n" +
|
||||
"Water and lava walking\n" +
|
||||
"Temporary immunity to lava");
|
||||
"Temporary immunity to lava\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -15,7 +15,8 @@ namespace CalamityMod.Items.Accessories
|
||||
"Being hit creates a miniature sun that lingers, dealing damage to nearby enemies\n" +
|
||||
"The sun will slowly drag enemies into it\n" +
|
||||
"Only one sun can be active at once\n" +
|
||||
"Provides a moderate amount of light in the Abyss");
|
||||
"Provides a moderate amount of light in the Abyss\n" +
|
||||
"Provides heat and cold protection in Death Mode");
|
||||
Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(5, 6));
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@ namespace CalamityMod.Items.Accessories
|
||||
"Increased invincibility after taking damage\n" +
|
||||
"Temporary immunity to lava\n" +
|
||||
"Increased melee knockback\n" +
|
||||
"Melee attacks have a chance to instantly kill normal enemies");
|
||||
"Melee attacks have a chance to instantly kill normal enemies\n" +
|
||||
"Provides heat and cold protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -15,7 +15,8 @@ namespace CalamityMod.Items.Accessories
|
||||
"Only active above 25% life\n" +
|
||||
"Grants immunity to knockback\n" +
|
||||
"Puts a shell around the owner when below 50% life that reduces damage\n" +
|
||||
"The shell becomes more powerful when below 15% life and reduces damage even further");
|
||||
"The shell becomes more powerful when below 15% life and reduces damage even further\n" +
|
||||
"Provides heat and cold protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -10,7 +10,8 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
DisplayName.SetDefault("Frost Barrier");
|
||||
Tooltip.SetDefault("You will freeze enemies near you when you are struck\n" +
|
||||
"You are immune to the chilled debuff");
|
||||
"You are immune to the chilled debuff\n" +
|
||||
"Provides heat and cold protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -15,6 +15,7 @@ namespace CalamityMod.Items.Accessories
|
||||
"Resistant to cold attacks and +1 life regen\n" +
|
||||
"Being above 75% life grants the player 10% increased damage\n" +
|
||||
"Being below 25% life grants the player 10 defense and 15% increased max movement speed and acceleration\n" +
|
||||
"Provides heat and cold protection in Death Mode\n" +
|
||||
"Revengeance drop");
|
||||
Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(5, 10));
|
||||
}
|
||||
|
||||
@@ -12,7 +12,8 @@ namespace CalamityMod.Items.Accessories
|
||||
Increases life regen as life decreases
|
||||
Increases life regen when afflicted with Poison, On Fire, or Brimstone Flames
|
||||
You will survive fatal damage and revive with 30% life on a 3 minute cooldown
|
||||
You are encased in an ice barrier for 3 seconds when revived");
|
||||
You are encased in an ice barrier for 3 seconds when revived
|
||||
Provides heat and cold protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -19,7 +19,8 @@ namespace CalamityMod.Items.Accessories
|
||||
"Only active above 25% life\n" +
|
||||
"Grants immunity to knockback and reduces the cooldown of healing potions\n" +
|
||||
"Puts a shell around the owner when below 50% life that reduces damage\n" +
|
||||
"The shell becomes more powerful when below 15% life and reduces damage even further");
|
||||
"The shell becomes more powerful when below 15% life and reduces damage even further\n" +
|
||||
"Provides heat and cold protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -23,7 +23,8 @@ namespace CalamityMod.Items.Accessories
|
||||
"Enemies take damage when they hit you\n" +
|
||||
"Taking a hit will make you move very fast for a short time\n" +
|
||||
"You emit a mushroom spore and spark explosion when you are hit\n" +
|
||||
"Enemy attacks will have part of their damage absorbed and used to heal you");
|
||||
"Enemy attacks will have part of their damage absorbed and used to heal you\n" +
|
||||
"Provides cold protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -32,7 +32,8 @@ namespace CalamityMod.Items.Accessories
|
||||
"Summons a fungal clump to fight for you\n" +
|
||||
"You leave behind poisonous seawater as you move\n" +
|
||||
"75% increased movement speed, 10% increase to all damage, and plus 40 defense while submerged in liquid\n" +
|
||||
"If you are damaged while submerged in liquid you will gain a damaging aura for a short time");
|
||||
"If you are damaged while submerged in liquid you will gain a damaging aura for a short time\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(9, 6));
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,7 @@ namespace CalamityMod.Items.Accessories
|
||||
"Standing still provides a damaging aura around you\n" +
|
||||
"While moving, you regenerate health as if standing still\n" +
|
||||
"Provides a small amount of light in the Abyss\n" +
|
||||
"Provides cold protection in Death Mode\n" +
|
||||
"In rest may we find victory.");
|
||||
}
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace CalamityMod.Items.Accessories.Vanity
|
||||
{
|
||||
DisplayName.SetDefault("Magic Scarf and Hat");
|
||||
Tooltip.SetDefault("Transforms the holder into a snowman\n" +
|
||||
"Provides heat and cold protection in Death Mode\n" +
|
||||
"Don't let the demons steal your nose");
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,8 @@ namespace CalamityMod.Items.Accessories
|
||||
"Drops brimstone fireballs from the sky occasionally\n" +
|
||||
"15% increase to all damage\n" +
|
||||
"Brimstone fire rains down while invincibility is active\n" +
|
||||
"Temporary immunity to lava, greatly reduces lava burn damage, and 25% increased damage while in lava");
|
||||
"Temporary immunity to lava, greatly reduces lava burn damage, and 25% increased damage while in lava\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -24,7 +24,8 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
"Greater mobility on ice\n" +
|
||||
"Water and lava walking\n" +
|
||||
"Temporary immunity to lava\n" +
|
||||
"Being hit for over 200 damage will make you immune for an extended period of time");
|
||||
"Being hit for over 200 damage will make you immune for an extended period of time\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -22,7 +22,8 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
"Ludicrous speed!\n" +
|
||||
"Greater mobility on ice\n" +
|
||||
"Water and lava walking\n" +
|
||||
"Temporary immunity to lava");
|
||||
"Temporary immunity to lava\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -13,7 +13,9 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
Tooltip.SetDefault("Horizontal speed: 9.75\n" +
|
||||
"Acceleration multiplier: 2.5\n" +
|
||||
"Great vertical speed\n" +
|
||||
"Flight time: 180");
|
||||
"Flight time: 180\n" +
|
||||
"Temporary immunity to lava\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -22,7 +22,8 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
"Ludicrous speed!\n" +
|
||||
"Greater mobility on ice\n" +
|
||||
"Water and lava walking\n" +
|
||||
"Temporary immunity to lava");
|
||||
"Temporary immunity to lava\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -18,7 +18,8 @@ namespace CalamityMod.Items.Accessories.Wings
|
||||
"Average vertical speed\n" +
|
||||
"Flight time: 100\n" +
|
||||
"5% increase to all damage and pick speed\n" +
|
||||
"All melee attacks and projectiles inflict frostburn");
|
||||
"All melee attacks and projectiles inflict frostburn\n" +
|
||||
"Provides heat and cold protection in Death Mode");
|
||||
Main.RegisterItemAnimation(item.type, new DrawAnimationVertical(8, 4));
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,8 @@ namespace CalamityMod.Items.Accessories
|
||||
"Melee attacks and melee projectiles inflict holy fire\n" +
|
||||
"Increased invincibility after taking damage\n" +
|
||||
"Temporary immunity to lava\n" +
|
||||
"Increased melee knockback");
|
||||
"Increased melee knockback\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
DisplayName.SetDefault("Ataxia Headgear");
|
||||
Tooltip.SetDefault("12% increased ranged damage and 10% increased ranged critical strike chance\n" +
|
||||
"Reduces ammo usage by 25%, temporary immunity to lava, and immunity to fire damage");
|
||||
"Reduces ammo usage by 25%, temporary immunity to lava, and immunity to fire damage\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -15,7 +15,8 @@ namespace CalamityMod.Items.Armor
|
||||
Tooltip.SetDefault("12% increased melee damage and 10% increased melee critical strike chance\n" +
|
||||
"12% increased melee and movement speed\n" +
|
||||
"Melee attacks and melee projectiles inflict on fire\n" +
|
||||
"Temporary immunity to lava and immunity to fire damage");
|
||||
"Temporary immunity to lava and immunity to fire damage\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -16,7 +16,8 @@ namespace CalamityMod.Items.Armor
|
||||
DisplayName.SetDefault("Ataxia Helmet");
|
||||
Tooltip.SetDefault("5% increased minion damage and increased minion knockback\n" +
|
||||
"+2 max minions\n" +
|
||||
"Temporary immunity to lava and immunity to fire damage");
|
||||
"Temporary immunity to lava and immunity to fire damage\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -14,7 +14,8 @@ namespace CalamityMod.Items.Armor
|
||||
DisplayName.SetDefault("Ataxia Hood");
|
||||
Tooltip.SetDefault("12% increased rogue damage and 10% increased rogue critical strike chance\n" +
|
||||
"50% chance to not consume rogue items and 15% increased movement speed\n" +
|
||||
"Temporary immunity to lava and immunity to fire damage");
|
||||
"Temporary immunity to lava and immunity to fire damage\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
DisplayName.SetDefault("Ataxia Mask");
|
||||
Tooltip.SetDefault("12% increased magic damage, reduces mana usage by 15%, and 10% increased magic critical strike chance\n" +
|
||||
"+100 max mana, temporary immunity to lava, and immunity to fire damage");
|
||||
"+100 max mana, temporary immunity to lava, and immunity to fire damage\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -18,7 +18,8 @@ namespace CalamityMod.Items.Armor
|
||||
"25% increased movement speed\n" +
|
||||
"Attacks have a 2% chance to do no damage to you\n" +
|
||||
"8% increased damage and 5% increased critical strike chance\n" +
|
||||
"You will freeze enemies near you when you are struck");
|
||||
"You will freeze enemies near you when you are struck\n" +
|
||||
"Provides heat and cold protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
DisplayName.SetDefault("Bloodflare Helm");
|
||||
Tooltip.SetDefault("You can move freely through liquids and have temporary immunity to lava\n" +
|
||||
"10% increased rogue damage and critical strike chance, 15% increased movement speed");
|
||||
"10% increased rogue damage and critical strike chance, 15% increased movement speed\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
DisplayName.SetDefault("Bloodflare Helmet");
|
||||
Tooltip.SetDefault("You can move freely through liquids and have temporary immunity to lava\n" +
|
||||
"+3 max minions");
|
||||
"+3 max minions\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
DisplayName.SetDefault("Bloodflare Horned Helm");
|
||||
Tooltip.SetDefault("You can move freely through liquids and have temporary immunity to lava\n" +
|
||||
"10% increased ranged damage and critical strike chance");
|
||||
"10% increased ranged damage and critical strike chance\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
DisplayName.SetDefault("Bloodflare Horned Mask");
|
||||
Tooltip.SetDefault("You can move freely through liquids and have temporary immunity to lava\n" +
|
||||
"10% increased magic damage and critical strike chance, +100 max mana, and 17% reduced mana usage");
|
||||
"10% increased magic damage and critical strike chance, +100 max mana, and 17% reduced mana usage\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
DisplayName.SetDefault("Bloodflare Mask");
|
||||
Tooltip.SetDefault("You can move freely through liquids and have temporary immunity to lava\n" +
|
||||
"10% increased melee damage and critical strike chance");
|
||||
"10% increased melee damage and critical strike chance\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -57,7 +57,8 @@ Minions deal full damage while wielding weaponry
|
||||
Immunity to all forms of frost and flame
|
||||
All minion attacks grant colossal life regeneration
|
||||
15% increased damage reduction during the Pumpkin and Frost Moons
|
||||
This extra damage reduction ignores the soft cap";
|
||||
This extra damage reduction ignores the soft cap
|
||||
Provides cold protection in Death Mode";
|
||||
|
||||
// This bool encompasses cross-class nerf immunity, colossal life regen on minion attack, and the holiday moon DR
|
||||
player.Calamity().fearmongerSet = true;
|
||||
|
||||
@@ -49,7 +49,8 @@ namespace CalamityMod.Items.Armor
|
||||
"Your max life will return to normal if you die\n" +
|
||||
"True melee strikes have a 25% chance to do five times damage\n" +
|
||||
"After the silva invincibility is over you will take 20% less contact damage\n" +
|
||||
"Melee projectiles have a 25% chance to stun enemies for a very brief moment";
|
||||
"Melee projectiles have a 25% chance to stun enemies for a very brief moment\n" +
|
||||
"Provides cold protection in Death Mode";
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -51,7 +51,8 @@ namespace CalamityMod.Items.Armor
|
||||
"This effect only triggers once per life and if you are reduced to 400 max life the invincibility effect will stop\n" +
|
||||
"Your max life will return to normal if you die\n" +
|
||||
"Summons an ancient leaf prism to blast your enemies with life energy\n" +
|
||||
"After the silva invulnerability time your minions will deal 10% more damage and you will gain +2 max minions";
|
||||
"After the silva invulnerability time your minions will deal 10% more damage and you will gain +2 max minions\n" +
|
||||
"Provides cold protection in Death Mode";
|
||||
if (player.whoAmI == Main.myPlayer)
|
||||
{
|
||||
if (player.FindBuffIndex(ModContent.BuffType<SilvaSummonSetBuff>()) == -1)
|
||||
|
||||
@@ -48,7 +48,8 @@ namespace CalamityMod.Items.Armor
|
||||
"This effect only triggers once per life and if you are reduced to 400 max life the invincibility effect will stop\n" +
|
||||
"Your max life will return to normal if you die\n" +
|
||||
"Increases your rate of fire with all ranged weapons\n" +
|
||||
"During the silva invulnerability time your ranged weapons will do 40% more damage";
|
||||
"During the silva invulnerability time your ranged weapons will do 40% more damage\n" +
|
||||
"Provides cold protection in Death Mode";
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -54,7 +54,8 @@ namespace CalamityMod.Items.Armor
|
||||
"Rogue stealth builds while not attacking and not moving, up to a max of 150\n" +
|
||||
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
|
||||
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
|
||||
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
|
||||
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed\n" +
|
||||
"Provides cold protection in Death Mode";
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -49,7 +49,8 @@ namespace CalamityMod.Items.Armor
|
||||
"This effect only triggers once per life and if you are reduced to 400 max life the invincibility effect will stop\n" +
|
||||
"Your max life will return to normal if you die\n" +
|
||||
"Magic projectiles have a 10% chance to cause a massive explosion on enemy hits\n" +
|
||||
"After the silva invulnerability time your magic weapons will do 10% more damage";
|
||||
"After the silva invulnerability time your magic weapons will do 10% more damage\n" +
|
||||
"Provides cold protection in Death Mode";
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
|
||||
@@ -16,6 +16,7 @@ namespace CalamityMod.Items.Armor
|
||||
"Can move freely through liquids\n" +
|
||||
"5% increased damage reduction\n" +
|
||||
"10% increased melee damage and critical strike chance\n" +
|
||||
"Provides heat protection in Death Mode\n" +
|
||||
"Helm of the disciple of ancients");
|
||||
}
|
||||
|
||||
|
||||
@@ -15,7 +15,8 @@ namespace CalamityMod.Items.Armor
|
||||
Tooltip.SetDefault("Temporary immunity to lava and immunity to cursed inferno, fire, cursed, and chilled debuffs\n" +
|
||||
"Can move freely through liquids and 12% increased movement speed\n" +
|
||||
"10% increased rogue damage and critical strike chance\n" +
|
||||
"5% increased damage reduction");
|
||||
"5% increased damage reduction\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -14,7 +14,8 @@ namespace CalamityMod.Items.Armor
|
||||
DisplayName.SetDefault("Tarragon Horned Helm");
|
||||
Tooltip.SetDefault("Temporary immunity to lava and immunity to cursed inferno, fire, cursed, and chilled debuffs\n" +
|
||||
"Can move freely through liquids\n" +
|
||||
"5% increased damage reduction and +3 max minions");
|
||||
"5% increased damage reduction and +3 max minions\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -15,7 +15,8 @@ namespace CalamityMod.Items.Armor
|
||||
Tooltip.SetDefault("Temporary immunity to lava and immunity to cursed inferno, fire, cursed, and chilled debuffs\n" +
|
||||
"Can move freely through liquids\n" +
|
||||
"10% increased magic damage and critical strike chance\n" +
|
||||
"5% increased damage reduction, +100 max mana, and 15% reduced mana usage");
|
||||
"5% increased damage reduction, +100 max mana, and 15% reduced mana usage\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -15,7 +15,8 @@ namespace CalamityMod.Items.Armor
|
||||
Tooltip.SetDefault("Temporary immunity to lava and immunity to cursed inferno, fire, cursed, and chilled debuffs\n" +
|
||||
"Can move freely through liquids\n" +
|
||||
"10% increased ranged damage and critical strike chance\n" +
|
||||
"5% increased damage reduction");
|
||||
"5% increased damage reduction\n" +
|
||||
"Provides heat protection in Death Mode");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace CalamityMod.Items.Armor
|
||||
DisplayName.SetDefault("Xeroc Mask");
|
||||
Tooltip.SetDefault("11% increased rogue damage and critical strike chance, 22% increased movement speed\n" +
|
||||
"Temporary immunity to lava and immunity to cursed, fire, cursed inferno, and chilled\n" +
|
||||
"Provides heat protection in Death Mode\n" +
|
||||
"Wrath of the cosmos");
|
||||
}
|
||||
|
||||
|
||||
@@ -785,7 +785,8 @@ namespace CalamityMod.Items
|
||||
if (line2.mod == "Terraria" && line2.Name == "Tooltip0")
|
||||
{
|
||||
line2.text = "Reduces damage from cold sources\n" +
|
||||
"Makes you immune to the Chilled, Frozen, and Glacial State debuffs";
|
||||
"Makes you immune to the Chilled, Frozen, and Glacial State debuffs\n" +
|
||||
"Provides cold protection in Death Mode";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -805,7 +806,8 @@ namespace CalamityMod.Items
|
||||
{
|
||||
if (line2.mod == "Terraria" && line2.Name == "Tooltip1")
|
||||
{
|
||||
line2.text = "14% increased melee damage and speed";
|
||||
line2.text = "14% increased melee damage and speed\n" +
|
||||
"Provides heat and cold protection in Death Mode";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -827,7 +829,8 @@ namespace CalamityMod.Items
|
||||
{
|
||||
line2.text = "Provides immunity to direct damage from touching lava\n" +
|
||||
"Provides temporary immunity to lava burn damage\n" +
|
||||
"Reduces lava burn damage";
|
||||
"Reduces lava burn damage\n" +
|
||||
"Provides heat protection in Death Mode";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -838,7 +841,41 @@ namespace CalamityMod.Items
|
||||
if (line2.mod == "Terraria" && line2.Name == "Tooltip0")
|
||||
{
|
||||
line2.text = "Reduced direct damage from touching lava\n" +
|
||||
"Greatly reduces lava burn damage";
|
||||
"Greatly reduces lava burn damage\n" +
|
||||
"Provides heat protection in Death Mode";
|
||||
}
|
||||
}
|
||||
}
|
||||
if (item.type == ItemID.MagmaStone)
|
||||
{
|
||||
foreach (TooltipLine line2 in tooltips)
|
||||
{
|
||||
if (line2.mod == "Terraria" && line2.Name == "Tooltip0")
|
||||
{
|
||||
line2.text = "Inflicts fire damage on attack\n" +
|
||||
"Provides heat and cold protection in Death Mode";
|
||||
}
|
||||
}
|
||||
}
|
||||
if (item.type == ItemID.LavaCharm)
|
||||
{
|
||||
foreach (TooltipLine line2 in tooltips)
|
||||
{
|
||||
if (line2.mod == "Terraria" && line2.Name == "Tooltip0")
|
||||
{
|
||||
line2.text = "Provides 7 seconds of immunity to lava\n" +
|
||||
"Provides heat protection in Death Mode";
|
||||
}
|
||||
}
|
||||
}
|
||||
if (item.type == ItemID.LavaWaders)
|
||||
{
|
||||
foreach (TooltipLine line2 in tooltips)
|
||||
{
|
||||
if (line2.mod == "Terraria" && line2.Name == "Tooltip1")
|
||||
{
|
||||
line2.text = "Grants immunity to fire blocks and 7 seconds of immunity to lava\n" +
|
||||
"Provides heat protection in Death Mode";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1082,7 +1119,19 @@ namespace CalamityMod.Items
|
||||
if (line2.mod == "Terraria" && line2.Name == "SetBonus")
|
||||
{
|
||||
line2.text = @"Set Bonus: 17% extra melee damage
|
||||
Grants immunity to fire blocks, and temporary immunity to lava";
|
||||
Grants immunity to fire blocks, and temporary immunity to lava
|
||||
Provides heat and cold protection in Death Mode";
|
||||
}
|
||||
}
|
||||
}
|
||||
if (item.type == ItemID.FrostHelmet || item.type == ItemID.FrostBreastplate || item.type == ItemID.FrostLeggings)
|
||||
{
|
||||
foreach (TooltipLine line2 in tooltips)
|
||||
{
|
||||
if (line2.mod == "Terraria" && line2.Name == "SetBonus")
|
||||
{
|
||||
line2.text = @"Set Bonus: Melee and ranged attacks cause frostburn
|
||||
Provides heat and cold protection in Death Mode";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2126,6 +2175,8 @@ Grants immunity to fire blocks, and temporary immunity to lava";
|
||||
return "Obsidian";
|
||||
if (head.type == ItemID.MoltenHelmet && body.type == ItemID.MoltenBreastplate && legs.type == ItemID.MoltenGreaves)
|
||||
return "Molten";
|
||||
if (head.type == (ItemID.EskimoHood | ItemID.PinkEskimoHood) && body.type == (ItemID.EskimoCoat | ItemID.PinkEskimoCoat) && legs.type == (ItemID.EskimoPants | ItemID.PinkEskimoPants))
|
||||
return "Eskimo";
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -2178,13 +2229,18 @@ Grants immunity to fire blocks, and temporary immunity to lava";
|
||||
"Rogue stealth builds while not attacking and not moving, up to a max of 80\n" +
|
||||
"Once you have built max stealth, you will be able to perform a Stealth Strike\n" +
|
||||
"Rogue stealth only reduces when you attack, it does not reduce while moving\n" +
|
||||
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed";
|
||||
"The higher your rogue stealth the higher your rogue damage, crit, and movement speed\n" +
|
||||
"Provides heat protection in Death Mode";
|
||||
}
|
||||
else if (set == "Molten")
|
||||
{
|
||||
player.fireWalk = true;
|
||||
player.lavaMax += 300;
|
||||
}
|
||||
else if (set == "Eskimo" && CalamityWorld.death)
|
||||
{
|
||||
player.setBonus = "Provides cold immunity in Death Mode";
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in new issue
Block a user