Jewel and purity defense adjustment

fixed a mistake from earlier
12 bonus to 8 on purity
8 bonus to 5 on infected jewel
both tick down once a second
This commit is contained in:
Xyk committed 2023-08-30 14:46:49 -07:00
1 parent 7bee71d3fc
commit 9989e5154e
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -444,7 +444,7 @@ namespace CalamityMod.CalPlayer
if (Player.lifeRegenTime < 1800)
Player.lifeRegenTime = 1800;
intendedPurityDefense = 20 + (currentDebuffs - 1) * 12;
intendedPurityDefense = 20 + (currentDebuffs - 1) * 8;
if (jewelBonusDefense < intendedPurityDefense)
jewelBonusDefense = intendedPurityDefense;
@@ -484,14 +484,14 @@ namespace CalamityMod.CalPlayer
if (Player.lifeRegenTime < 1800)
Player.lifeRegenTime = 1800;
intendedJewelDefense = 16 + (currentDebuffs - 1) * 8;
intendedJewelDefense = 16 + (currentDebuffs - 1) * 5;
if (jewelBonusDefense < intendedJewelDefense)
jewelBonusDefense = intendedJewelDefense;
}
// If the defense should be ticking down to some lower value, do that.
// Infected Jewel loses 1 point of defense every 20 frames.
if (Player.miscCounter % 20 == 0 && jewelBonusDefense > intendedJewelDefense)
if (Player.miscCounter % 60 == 0 && jewelBonusDefense > intendedJewelDefense)
--jewelBonusDefense;
// Actually apply defense bonus
@@ -251,7 +251,7 @@ Purity: {
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
Each debuff beyond the first grants 12 additional defense
Each debuff beyond the first grants 8 additional defense
Granted defense fades away slowly when not afflicted with any debuffs
Makes weak damage over time debuffs harmless and halves the duration of all but the strongest debuffs
You emit shining blue light if visibility is enabled
@@ -367,7 +367,7 @@ InfectedJewel: {
Grants 16 defense and +2 HP/s life regen while afflicted with any debuff
Massively boosts natural life regen while afflicted with any debuff
Granted defense fades away quickly when not afflicted with any debuffs
Each debuff beyond the first grants 8 additional defense
Each debuff beyond the first grants 5 additional defense
Makes the Astral Infection debuff harmless
'A beautiful gemstone tarnished by spaceborne rot'
'''