diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs
index e8ea10f07a..dd67d19fa2 100644
--- a/CalPlayer/CalamityPlayer.cs
+++ b/CalPlayer/CalamityPlayer.cs
@@ -928,6 +928,11 @@ namespace CalamityMod.CalPlayer
public bool spiritOrigin = false;
public bool spiritOriginVanity = false;
public int spiritOriginCritBoost = 0;
+///
+/// The amount of bonus crit damage the player has.
+/// At 0f, the player has regular crit damage. At 1f, the player has +100% crit damage.
+///
+ public float critDamage = 0;
public bool darkSunRing = false;
public bool crawCarapace = false;
public bool baroclaw = false;
@@ -2352,6 +2357,7 @@ namespace CalamityMod.CalPlayer
spiritOriginCritBoost = 0;
spiritOrigin = false;
spiritOriginVanity = false;
+ critDamage = 0;
astralStarRain = false;
@@ -2849,6 +2855,7 @@ namespace CalamityMod.CalPlayer
SulphWaterPoisoningLevel = 0f;
holyInfernoFadeIntensity = 0f;
spiritOriginCritBoost = 0;
+ critDamage = 0f;
rage = 0f;
adrenaline = 0f;
raiderCritLifespan = 0;
diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs
index a03b32ad2c..58ec5db97c 100644
--- a/CalPlayer/CalamityPlayerHitHurt.cs
+++ b/CalPlayer/CalamityPlayerHitHurt.cs
@@ -511,6 +511,7 @@ namespace CalamityMod.CalPlayer
#region Modify Hit NPC
public override void ModifyHitNPCWithItem(Item item, NPC target, ref NPC.HitModifiers modifiers)
{
+ modifiers.CritDamage += critDamage;
// All Calamity multipliers are added together to prevent insane exponential stacking
float totalDamageMult = 1f;
@@ -592,6 +593,8 @@ namespace CalamityMod.CalPlayer
{
if (proj.npcProj || proj.trap)
return;
+
+ modifiers.CritDamage += critDamage;
// All Calamity multipliers are added together to prevent insane exponential stacking
float totalDamageMult = 1f;
diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs
index 105195722a..f58dcb1ba3 100644
--- a/Items/CalamityGlobalItem.cs
+++ b/Items/CalamityGlobalItem.cs
@@ -1286,10 +1286,16 @@ namespace CalamityMod.Items
if (item.type == ItemID.ArcaneFlower)
player.GetDamage() += 0.05f;
+
+ if (item.type == ItemID.EyeoftheGolem)
+ {
+ player.Calamity().critDamage += 0.2f;
+ }
if (item.type == ItemID.SniperScope)
{
- player.GetDamage() -= 0.03f;
- player.GetCritChance() -= 3;
+ player.GetDamage() -= 0.1f; //Total 0% damage
+ player.GetCritChance() += 2; //Total 12% crit
+ player.Calamity().critDamage += 0.2f;
}
if (item.type == ItemID.MagicQuiver)
diff --git a/Items/CalamityGlobalItemTooltip.cs b/Items/CalamityGlobalItemTooltip.cs
index 3e7c1050ba..32dcee69c5 100644
--- a/Items/CalamityGlobalItemTooltip.cs
+++ b/Items/CalamityGlobalItemTooltip.cs
@@ -799,6 +799,11 @@ namespace CalamityMod.Items
EditTooltipByNum(1, (line) => line.Text = EditedTooltip("EmpressFlightBooster2"));
}
+ if (item.type == ItemID.EyeoftheGolem)
+ {
+ EditTooltipByNum(0, (line) => line.Text += AddedTooltip("EyeoftheGolem"));
+ }
+
// Rifle Scope visibility change
if (item.type == ItemID.RifleScope)
{
@@ -811,6 +816,7 @@ namespace CalamityMod.Items
{
EditTooltipByNum(1, (line) => line.Text = EditedTooltip("SniperScope"));
EditTooltipByNum(0, (line) => line.Text += AddedTooltip("RifleScope"));
+ EditTooltipByNum(1, (line) => line.Text += AddedTooltip("EyeoftheGolem"));
}
// Recon Scope visibility change
diff --git a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson
index 130ede50d9..b037db0068 100644
--- a/Localization/en-US/Mods.CalamityMod.Vanilla.hjson
+++ b/Localization/en-US/Mods.CalamityMod.Vanilla.hjson
@@ -7,6 +7,7 @@ DodgeInfo:
'''
AddedTooltip: {
+ EyeoftheGolem: 20% increased critical strike damage
TruffleWorm:
'''
Summons Duke Fishron if used as bait in the Ocean
@@ -199,7 +200,7 @@ EditedTooltip: {
EmpressFlightBooster2: Increases movement and jump speed by 10% and acceleration by 1.25x
RifleScope1: Increase view range for guns (Right click to zoom out)
RifleScope2: The scope effect can be toggled with visibility
- SniperScope: 7% increased ranged damage and critical strike chance
+ SniperScope: 12% increased ranged critical strike chance
MagicQuiver: Increases arrow damage by 5% and greatly increases arrow speed
MoltenQuiver1: Increases arrow damage by 7% and greatly increases arrow speed
MoltenQuiver2: Lights wooden arrows ablaze and all arrows inflict Hellfire