Added even more missing HP/s life regen tooltips

This commit is contained in:
CongratsIsTrash authored and Ozzatron committed 2024-06-01 20:23:46 -04:00
1 parent 93c59a4d33
commit e1be94d5c4
8 files changed
+62 -26

No files matched your search

+35 -2
View File
@@ -292,6 +292,37 @@ namespace CalamityMod.Items
EditTooltipByNum(0, (line) => line.Text += "\nDemon Altars now drop Souls of Night instead of generating ores when destroyed" +
"\nHardmode ores now generate after defeating Mechanical Bosses for the first time");
// Exact life regen descriptions
bool isCampfire = item.type == ItemID.Campfire || item.type == ItemID.CursedCampfire || item.type == ItemID.DemonCampfire || item.type == ItemID.FrozenCampfire || item.type == ItemID.IchorCampfire || item.type == ItemID.RainbowCampfire || item.type == ItemID.UltraBrightCampfire || item.type == ItemID.BoneCampfire || item.type == ItemID.DesertCampfire || item.type == ItemID.CoralCampfire || item.type == ItemID.CorruptCampfire || item.type == ItemID.CrimsonCampfire || item.type == ItemID.HallowedCampfire || item.type == ItemID.JungleCampfire || item.type == ItemID.MushroomCampfire || item.type == ItemID.ShimmerCampfire;
if (isCampfire)
EditTooltipByNum(0, (line) => line.Text = "Life regen is increased by 0.5 HP/s when near a campfire");
if (item.type == ItemID.HeartLantern)
EditTooltipByNum(0, (line) => line.Text = "Grants +1 HP/s life regeneration when placed nearby");
if (item.type == ItemID.BottledHoney)
EditTooltipByNum(0, (line) => line.Text = "Grants +1 HP/s life regen for a short time" +
"\nGrants an additional +1 HP/s life regen while inflicted with a damaging debuff");
if (item.type == ItemID.ShinyStone)
EditTooltipByNum(0, (line) => line.Text = "Grants +2 HP/s life regen and accelerates natural life regen when not moving");
if (item.type == ItemID.BandofRegeneration)
EditTooltipByNum(0, (line) => line.Text = "Grants +1 HP/s life regeneration");
if (item.type == ItemID.CharmofMyths)
EditTooltipByNum(0, (line) => line.Text = "Grants +1 HP/s life regeneration and reduces the cooldown of healing potions by 25%");
if (item.type == ItemID.RegenerationPotion)
EditTooltipByNum(0, (line) => line.Text = "Provides +2 HP/s life regeneration");
if (item.type == ItemID.SoulDrain)
EditTooltipByNum(0, (line) => line.Text += "\nThis grants +1.5 HP/s life regen and accelerates natural life regen" +
"\nLife drain stacks based on the number of enemies being hit");
if (item.type == ItemID.HamBat)
EditTooltipByNum(1, (line) => line.Text = "Defeating enemies temporarily grants +3 HP/s life regen");
// Warmth Potion provides debuff immunities
if (item.type == ItemID.WarmthPotion)
{
@@ -900,8 +931,10 @@ namespace CalamityMod.Items
// DD2 armor tooltip edits
#region DD2 Armor
// Reduce DD2 armor piece bonuses because they're overpowered
// Reduce DD2 armor piece bonuses because they're overpowered, and clarify life regen boosts
// Squire armor
if (item.type == ItemID.SquireGreatHelm)
EditTooltipByNum(0, (line) => line.Text = "Increases your max number of sentries by 1 and grants +2 HP/s life regen");
if (item.type == ItemID.SquirePlating)
EditTooltipByNum(0, (line) => line.Text = "10% increased minion and melee damage");
if (item.type == ItemID.SquireGreaves)
@@ -931,7 +964,7 @@ namespace CalamityMod.Items
// Valhalla Knight armor
if (item.type == ItemID.SquireAltShirt)
EditTooltipByNum(0, (line) => line.Text = "30% increased minion damage and increased life regeneration");
EditTooltipByNum(0, (line) => line.Text = "30% increased minion damage and grants +4 HP/s life regen");
if (item.type == ItemID.SquireAltPants)
EditTooltipByNum(0, (line) => line.Text = "10% increased minion damage and melee critical strike chance");
@@ -138,8 +138,8 @@ AmbrosialAmpoule: {
'''
+50 max life
Grants +2 to +6 HP/s life regen based on missing health
Provides life regeneration equivalent to standing in Honey
Standing still grants extremely powerful regen
Grants +1 HP/s life regen and an additional 1 HP/s life regen when inflicted with a damage debuff
Standing still grants +1.5 HP/s life regen
Halves how long you are afflicted with fire and sickness debuffs
You emit yellow light if visibility is enabled
'''
@@ -885,8 +885,9 @@ HallowedRune: {
Tooltip:
'''
Whenever your minions hit an enemy you will gain a random buff, does not stack with downgrades
These buffs will either boost your defense, summon damage, or life regen for a while
If you have the offensive boost, enemies hit by minions will sometimes be hit by stars
Hallowed Power increases summon damage by 10% and makes enemy hits from minions rain stars
Hallowed Defense increases defense by 8 and DR by 4%
Hallowed Regen grants +1.5 HP/s life regeneration
'''
}
@@ -935,8 +936,8 @@ HoneyDew: {
Tooltip:
'''
+30 max life
Provides life regeneration equivalent to standing in Honey
Standing still in Honey grants extremely powerful regen
Grants +1 HP/s life regen and an additional 1 HP/s life regen when inflicted with a damage debuff
Standing still in Honey grants +1.5 HP/s life regen
Halves how long you are afflicted with sickness debuffs
'''
}
@@ -1023,8 +1024,8 @@ LivingDew: {
Tooltip:
'''
+50 max life
Provides life regeneration equivalent to standing in Honey
Standing still in Honey grants extremely powerful regen
Grants +1 HP/s life regen and an additional 1 HP/s life regen when inflicted with a damage debuff
Standing still in Honey grants +1.5 HP/s life regen
Halves how long you are afflicted with fire and sickness debuffs
'''
}
@@ -1242,10 +1243,9 @@ PhantomicArtifact: {
Tooltip:
'''
Whenever your minions hit an enemy you will gain a random phantomic buff, does not stack with downgrades
These buffs will either boost your defense, summon damage, or life regen for a while
If you have the offensive boost, enemies hit by minions will sometimes be hit by phantomic knives
If you have the regenerative boost, a phantomic heart will occasionally materialise granting massive health regen
If you have the defensive boost, a phantomic bulwark will absorb 20% of the next projectile's damage that hits the bulwark, shattering it
Phantomic Empowerment increases summon damage by 10% and makes minion hits spawn phantomic knives
Phantomic Shield increases defense by 10 and DR by 5% and spawns a phantomic bulwark which absorbs 20% of the next projectile's damage that touches it
Phantomic Regen grants +2 HP/s life regen and spawns a phantomic heart which grants an additional 2 HP/s life regen when touched
'''
}
@@ -1332,8 +1332,8 @@ Radiance: {
'''
+70 max life
Grants +2 to +6 HP/s life regen based on missing health
Provides life regeneration equivalent to standing in Honey
Standing still grants extremely powerful regen
Grants +1 HP/s life regen and an additional 1 HP/s life regen when inflicted with a damage debuff
Standing still grants +2 HP/s life regen
Grants 20 defense and continuous healing while afflicted with any debuff
The healing eventually slows down if debuffed for an extended period of time
Massively boosts natural life regen while afflicted with any debuff
@@ -1586,7 +1586,9 @@ SpiritGlyph: {
Tooltip:
'''
Whenever your minions hit an enemy you will gain a random buff
These buffs will either boost your defense, summon damage, or life regen for a while
Spirit Power increases summon damage by 10%
Spirit Defense increases defense by 6 and DR by 3%
Spirit Regen grants +1 HP/s life regeneration
'''
}
@@ -527,7 +527,7 @@ TarragonHeadMelee: {
'''
15% increased melee speed
Enemies are more likely to target you
You gain a life regen buff when you take damage
Taking damage gives the Tarra Life buff, which grants +1.5 HP/s life regen
Press {0} to cloak yourself in life energy that heavily reduces enemy contact damage for 10 seconds
This has a 30 second cooldown
'''
@@ -54,8 +54,8 @@ Bloodfin: {
DisplayName: Bloodfin
Tooltip:
'''
Grants a buff that boosts life regen for 10 seconds
The life regen boost is stronger if below 75% health
Grants a buff that grants +2.5 HP/s life regen
This buff directly restores HP if below 75% health
10 second duration
'The wonders of angiogenesis'
'''
@@ -18,7 +18,7 @@ Baguette: {
Tooltip:
'''
{$CommonItemTooltip.MinorStats}
Boosts the effects of Red Wine
Red Wine heals 250 HP, but reduces life regen by 2 HP/s
[c/FCE391:'je suis Monte']
'''
}
@@ -104,7 +104,8 @@ PhotosynthesisPotion: {
DisplayName: Photosynthesis Potion
Tooltip:
'''
You regen life quickly while not moving, this effect is five times as strong during daytime
Grants +0.5 HP/s life regen and accelerates natural life regen while not moving
This natural life regen effect is five times as strong during daytime
Dropped hearts heal more HP
'''
}
@@ -287,7 +287,7 @@ CosmicDischarge: {
Tooltip:
'''
Striking an enemy with the whip causes glacial explosions and grants the player the cosmic freeze buff
This buff gives the player increased life regen while standing still and freezes enemies near the player
This buff gives the player +2 HP/s life regen while standing still and freezes enemies near the player
'''
}
@@ -707,7 +707,7 @@ Lacerator: {
DisplayName: Lacerator
Tooltip:
'''
Enemies that are hit by the yoyo will have their life drained
Accelerates natural life regeneration on hits with the yoyo
An exceptionally agile yoyo
[GFB]
'''
@@ -193,7 +193,7 @@ CorpusAvertor: {
Attacks grant lifesteal based on damage dealt
The lower your HP the more damage this weapon does and heals the player on enemy hits
Stealth strikes throw a single rainbow outlined dagger
On enemy hits, this dagger boosts the damage and life regen of all members of your team
On enemy hits, this dagger grants 10% damage and +2 HP/s life regen to all members of your team
However, there is a small chance it will cut your health in half instead
'Seems like it has worn down over time'
'''
@@ -789,7 +789,7 @@ WulfrumController: {
Summons a wulfrum droid to fight for you
Hold right click while holding the remote to switch all of your drones into supercharge mode
Supercharged droids will stop attacking and focus wulfrum energy onto you
The beam provides extra regeneration and defense
Supercharged droids provide +0.5 HP/s life regen and 3 defense per droid
Can also be used to heal other players by keeping your mouse cursor close enough to them
'''
}