diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs
index e8b0e7de9c..382afa6bb4 100644
--- a/CalPlayer/CalamityPlayer.cs
+++ b/CalPlayer/CalamityPlayer.cs
@@ -791,6 +791,7 @@ namespace CalamityMod.CalPlayer
public bool fishingStation = false;
public bool rBrain = false;
public bool bloodyWormTooth = false;
+ public bool ivDrip = false;
/// NOT the primary Affliction variable, used instead for the Afflicted buff which is given to teammates.
public bool afflicted = false;
public bool chiRegen = false;
@@ -2230,6 +2231,7 @@ namespace CalamityMod.CalPlayer
fishingStation = false;
rBrain = false;
bloodyWormTooth = false;
+ ivDrip = false;
vexation = false;
badgeOfBravery = false;
// Clear the Warbanner "cooldown" if not wearing Warbanner. This has absolutely zero effect for a casual player, but is useful for resetting the cooldown's duration.
diff --git a/CalPlayer/CalamityPlayerLifeRegen.cs b/CalPlayer/CalamityPlayerLifeRegen.cs
index 20bce9b8de..b3528627e2 100644
--- a/CalPlayer/CalamityPlayerLifeRegen.cs
+++ b/CalPlayer/CalamityPlayerLifeRegen.cs
@@ -198,6 +198,8 @@ namespace CalamityMod.CalPlayer
if (CalamityBuffSets.AlcoholStrength.TryGetValue(buff, out int level))
alcoholPoisonLevel += level;
}
+ if (Player.Calamity().ivDrip) // +1 stack of poisoning while IV Drip is equipped
+ alcoholPoisonLevel++;
if (vodka)
totalNegativeLifeRegen += Vodka.RegenLoss;
if (redWine)
diff --git a/Items/Accessories/IVDripOnTheRocks.cs b/Items/Accessories/IVDripOnTheRocks.cs
new file mode 100644
index 0000000000..b0c1759766
--- /dev/null
+++ b/Items/Accessories/IVDripOnTheRocks.cs
@@ -0,0 +1,44 @@
+using CalamityMod.CalPlayer;
+using CalamityMod.Items.Materials;
+using CalamityMod.Items.Potions.Alcohol;
+using CalamityMod.Items.Weapons.Rogue;
+using CalamityMod.Rarities;
+using Terraria;
+using Terraria.ID;
+using Terraria.Localization;
+using Terraria.ModLoader;
+
+namespace CalamityMod.Items.Accessories
+{
+ public class IVDripOnTheRocks : ModItem, ILocalizedModType
+ {
+ public new string LocalizationCategory => "Items.Accessories";
+ public static readonly float DamageBoostMultiplier = 1.25f;
+ public static readonly float DamageReductionMultiplier = 0.75f;
+ public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs((DamageBoostMultiplier).ToString("N2"), (DamageReductionMultiplier).ToString("N2")); public override void SetDefaults()
+ {
+ Item.width = 58;
+ Item.height = 60;
+ Item.value = CalamityGlobalItem.RarityTurquoiseBuyPrice;
+ Item.rare = ModContent.RarityType();
+ Item.accessory = true;
+ }
+
+ public override void UpdateAccessory(Player player, bool hideVisual)
+ {
+ CalamityPlayer modPlayer = player.Calamity();
+ modPlayer.ivDrip = true;
+ }
+
+ public override void AddRecipes()
+ {
+ CreateRecipe().
+ AddIngredient().
+ AddIngredient().
+ AddIngredient().
+ AddIngredient().
+ AddTile(TileID.MythrilAnvil).
+ Register();
+ }
+ }
+}
diff --git a/Items/Accessories/IVDripOnTheRocks.png b/Items/Accessories/IVDripOnTheRocks.png
new file mode 100644
index 0000000000..b2736f4dac
Binary files /dev/null and b/Items/Accessories/IVDripOnTheRocks.png differ
diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs
index 655834a6a5..1fc501efab 100644
--- a/Items/CalamityGlobalItem.cs
+++ b/Items/CalamityGlobalItem.cs
@@ -974,6 +974,8 @@ namespace CalamityMod.Items
// This assume all items with a damage hit is a weapon. There appears to be no edge cases for this thus far
if (player.Calamity().oldFashioned)
modifiers.SourceDamage *= OldFashioned.DamageReductionMultiplier;
+ if (player.Calamity().ivDrip)
+ modifiers.SourceDamage *= IVDripOnTheRocks.DamageReductionMultiplier;
}
public override void OnHitNPC(Item item, Player player, NPC target, NPC.HitInfo hit, int damageDone)
diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson
index 60b3c0f0b4..1720d77316 100644
--- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson
+++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson
@@ -1039,6 +1039,18 @@ IronBoots: {
'''
}
+IVDripOnTheRocks: {
+ DisplayName: IV Drip on the Rocks
+ Tooltip:
+ '''
+ Multiplies most non-weapon, non-debuff damage by {0}x
+ Multiplies all weapon damage by {1}x
+ Counts as an alcohol stack toward Alcohol Poisoning
+ {$Common.AlcoholWarning}
+ '(drunken mumbling)'
+ '''
+}
+
JellyChargedBattery: {
DisplayName: Jelly-Charged Battery
Tooltip:
diff --git a/Projectiles/CalamityGlobalProjectile.cs b/Projectiles/CalamityGlobalProjectile.cs
index f72448ad02..bd10e51ca5 100644
--- a/Projectiles/CalamityGlobalProjectile.cs
+++ b/Projectiles/CalamityGlobalProjectile.cs
@@ -4490,8 +4490,11 @@ namespace CalamityMod.Projectiles
CalamityPlayer modPlayer = player.Calamity();
// Old Fashioned buffs (or debuffs) apply if the player has Old Fashioned
+ // IV Drip on the Rocks inherits the same logic as Old Fashioned
if (modPlayer.oldFashioned && buffedByOldFashioned.HasValue)
modifiers.SourceDamage *= buffedByOldFashioned.Value ? OldFashioned.DamageBoostMultiplier : OldFashioned.DamageReductionMultiplier;
+ if (modPlayer.ivDrip && buffedByOldFashioned.HasValue)
+ modifiers.SourceDamage *= buffedByOldFashioned.Value ? OldFashioned.DamageBoostMultiplier : OldFashioned.DamageReductionMultiplier;
if (projectile.type == ProjectileID.JoustingLance || projectile.type == ProjectileID.HallowJoustingLance || projectile.type == ProjectileID.ShadowJoustingLance)
{