From 2e5ec0edcd8a6169b9982aa3eeadca91bb0bc6ba Mon Sep 17 00:00:00 2001 From: Xyk Date: Tue, 24 Oct 2023 21:01:35 -0700 Subject: [PATCH] Trinket of Chi change 4% dr every 5 seconds instead of 10% every 15 seconds --- CalPlayer/CalamityPlayerHitHurt.cs | 4 ++-- Items/Accessories/TrinketofChi.cs | 2 +- Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index c16c0113b5..2d0d95df72 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -780,7 +780,7 @@ namespace CalamityMod.CalPlayer } if (trinketOfChiBuff) - contactDamageReduction += 0.1; + contactDamageReduction += 0.04; // Fearmonger set provides 15% multiplicative DR that ignores caps during the Holiday Moons. // To prevent abuse, this effect does not work if there are any bosses alive. @@ -1031,7 +1031,7 @@ namespace CalamityMod.CalPlayer } if (trinketOfChiBuff) - projectileDamageReduction += 0.1; + projectileDamageReduction += 0.04; // Fearmonger set provides 15% multiplicative DR that ignores caps during the Holiday Moons. // To prevent abuse, this effect does not work if there are any bosses alive. diff --git a/Items/Accessories/TrinketofChi.cs b/Items/Accessories/TrinketofChi.cs index 3ae74d4216..72fa81d1c4 100644 --- a/Items/Accessories/TrinketofChi.cs +++ b/Items/Accessories/TrinketofChi.cs @@ -9,7 +9,7 @@ namespace CalamityMod.Items.Accessories public class TrinketofChi : ModItem, ILocalizedModType { public new string LocalizationCategory => "Items.Accessories"; - internal const int ChiBuffTimerMax = 900; + internal const int ChiBuffTimerMax = 300; public override void SetDefaults() { diff --git a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson index a3b2431b2d..f8a01f8a3e 100644 --- a/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson +++ b/Localization/en-US/Mods.CalamityMod.Items.Accessories.hjson @@ -1867,7 +1867,7 @@ TrinketofChi: { DisplayName: Trinket of Chi Tooltip: ''' - Provides 10% damage reduction after not being hit for 15 seconds, this is removed when you are hit + Provides 4% damage reduction after not being hit for 5 seconds, this is removed when you are hit +1 HP/s life regen for you and everyone on your team ''' }