Merge Conflict UGH

This commit is contained in:
Xyk committed 2023-09-20 14:21:14 -07:00
commit 0cb2091474
4 files changed
+16 -12

No files matched your search

+4
View File
@@ -93,6 +93,8 @@ namespace CalamityMod.CalPlayer
public bool blockAllDashes = false;
public bool resetHeightandWidth = false;
public bool noLifeRegen = false;
public bool reducedHolyFlamesDamage = false;
public bool reducedNightwitherDamage = false;
public float rangedAmmoCost = 1f;
public float healingPotBonus = 1f;
public bool heldGaelsLastFrame = false;
@@ -1699,6 +1701,8 @@ namespace CalamityMod.CalPlayer
CryoStoneVanity = false;
voidField = false;
copyrightInfringementShield = false;
reducedHolyFlamesDamage = false;
reducedNightwitherDamage = false;
daedalusReflect = false;
daedalusSplit = false;
+2 -2
View File
@@ -100,8 +100,8 @@ namespace CalamityMod.CalPlayer
ApplyDoTDebuff(bBlood, 8, purity);
ApplyDoTDebuff(vaporfied, 8, purity);
ApplyDoTDebuff(bFlames, abaddon ? 10 : 30, purity);
ApplyDoTDebuff(nightwither, 40, purity);
ApplyDoTDebuff(hFlames, 40, purity);
ApplyDoTDebuff(nightwither, reducedNightwitherDamage ? 20 : 40, purity);
ApplyDoTDebuff(hFlames, reducedHolyFlamesDamage ? 20 : 40, purity);
ApplyDoTDebuff(vHex, 30);
ApplyDoTDebuff(cDepth, 18, purity);
ApplyDoTDebuff(astralInfection, 24, infectedJewel || purity);
+5 -5
View File
@@ -1126,15 +1126,15 @@ namespace CalamityMod.Items
player.buffImmune[BuffID.OnFire] = true;
}
// Nightwither immunity pre-Moon Lord and Holy Flames immunity pre-Profaned Guardians.
// Reduced Nightwither and Holy Flames damage.
if (item.type == ItemID.MoonStone)
player.buffImmune[ModContent.BuffType<Nightwither>()] = true;
modPlayer.reducedNightwitherDamage = true;
if (item.type == ItemID.SunStone)
player.buffImmune[ModContent.BuffType<HolyFlames>()] = true;
modPlayer.reducedHolyFlamesDamage = true;
if (item.type == ItemID.CelestialStone || item.type == ItemID.CelestialShell)
{
player.buffImmune[ModContent.BuffType<Nightwither>()] = true;
player.buffImmune[ModContent.BuffType<HolyFlames>()] = true;
modPlayer.reducedHolyFlamesDamage = true;
modPlayer.reducedNightwitherDamage = true;
}
if (item.type == ItemID.FairyBoots)
+5 -5
View File
@@ -592,25 +592,25 @@ namespace CalamityMod.Items
if (item.type == ItemID.ArmorPolish || item.type == ItemID.ArmorBracing)
EditTooltipByNum(0, (line) => line.Text += " and Armor Crunch");
// Nightwither immunity pre-Moon Lord and Holy Flames immunity pre-Profaned Guardians and melee speed removal.
// Reduced Nightwither and Holy Flames damage, and melee speed removal.
if (item.type == ItemID.MoonStone)
{
EditTooltipByNum(2, (line) => line.Text += "\nGrants immunity to Nightwither");
EditTooltipByNum(2, (line) => line.Text += "\nReduces the damage of the Nightwither debuff");
EditTooltipByNum(1, (line) => line.Text = line.Text.Replace("melee speed, ", ""));
}
if (item.type == ItemID.SunStone)
{
EditTooltipByNum(2, (line) => line.Text += "\nGrants immunity to Holy Flames");
EditTooltipByNum(2, (line) => line.Text += "\nReduces the damage of the Holy Flames debuff");
EditTooltipByNum(1, (line) => line.Text = line.Text.Replace("melee speed, ", ""));
}
if (item.type == ItemID.CelestialStone)
{
EditTooltipByNum(2, (line) => line.Text += "\nGrants immunity to Nightwither and Holy Flames");
EditTooltipByNum(2, (line) => line.Text += "\nReduces the damage of the Nightwither and Holy Flames debuffs");
EditTooltipByNum(0, (line) => line.Text = line.Text.Replace(" melee speed,", ""));
}
if (item.type == ItemID.CelestialShell)
{
EditTooltipByNum(4, (line) => line.Text += "\nGrants immunity to Nightwither and Holy Flames");
EditTooltipByNum(4, (line) => line.Text += "\nReduces the damage of the Nightwither and Holy Flames debuffs");
EditTooltipByNum(2, (line) => line.Text = line.Text.Replace(" melee speed,", ""));
}