From b24271bc0115e7f611eb130cdde1654e5efb9fbc Mon Sep 17 00:00:00 2001 From: mountaindrew10 Date: Tue, 19 Sep 2023 19:46:16 -0500 Subject: [PATCH] Reduced God Slayer Inferno debuff duration when inflicted on the player by 33% from all hostile sources. --- CalPlayer/CalamityPlayerHitHurt.cs | 2 +- NPCs/DevourerofGods/CosmicGuardianBody.cs | 2 +- NPCs/DevourerofGods/CosmicGuardianHead.cs | 2 +- NPCs/DevourerofGods/CosmicGuardianTail.cs | 2 +- NPCs/DevourerofGods/DevourerofGodsBody.cs | 2 +- NPCs/DevourerofGods/DevourerofGodsHead.cs | 2 +- NPCs/DevourerofGods/DevourerofGodsTail.cs | 2 +- Projectiles/Boss/DarkOrb.cs | 2 +- Projectiles/Boss/DoGDeath.cs | 2 +- Projectiles/Boss/DoGFire.cs | 2 +- Projectiles/Boss/EssenceDust.cs | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CalPlayer/CalamityPlayerHitHurt.cs b/CalPlayer/CalamityPlayerHitHurt.cs index a843c07739..21899b3daf 100644 --- a/CalPlayer/CalamityPlayerHitHurt.cs +++ b/CalPlayer/CalamityPlayerHitHurt.cs @@ -1256,7 +1256,7 @@ namespace CalamityMod.CalPlayer break; case 5: - Player.AddBuff(ModContent.BuffType(), 150); + Player.AddBuff(ModContent.BuffType(), 100); break; case 6: diff --git a/NPCs/DevourerofGods/CosmicGuardianBody.cs b/NPCs/DevourerofGods/CosmicGuardianBody.cs index bb4e2dc611..ad15015911 100644 --- a/NPCs/DevourerofGods/CosmicGuardianBody.cs +++ b/NPCs/DevourerofGods/CosmicGuardianBody.cs @@ -214,7 +214,7 @@ namespace CalamityMod.NPCs.DevourerofGods public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo) { if (hurtInfo.Damage > 0) - target.AddBuff(ModContent.BuffType(), 120, true); + target.AddBuff(ModContent.BuffType(), 80, true); } } } diff --git a/NPCs/DevourerofGods/CosmicGuardianHead.cs b/NPCs/DevourerofGods/CosmicGuardianHead.cs index e9bd912164..9df1c84fcc 100644 --- a/NPCs/DevourerofGods/CosmicGuardianHead.cs +++ b/NPCs/DevourerofGods/CosmicGuardianHead.cs @@ -419,7 +419,7 @@ namespace CalamityMod.NPCs.DevourerofGods public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo) { if (hurtInfo.Damage > 0) - target.AddBuff(ModContent.BuffType(), 180, true); + target.AddBuff(ModContent.BuffType(), 120, true); } } } diff --git a/NPCs/DevourerofGods/CosmicGuardianTail.cs b/NPCs/DevourerofGods/CosmicGuardianTail.cs index 6b01872db8..a8ad499c87 100644 --- a/NPCs/DevourerofGods/CosmicGuardianTail.cs +++ b/NPCs/DevourerofGods/CosmicGuardianTail.cs @@ -211,7 +211,7 @@ namespace CalamityMod.NPCs.DevourerofGods public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo) { if (hurtInfo.Damage > 0) - target.AddBuff(ModContent.BuffType(), 90, true); + target.AddBuff(ModContent.BuffType(), 60, true); } } } diff --git a/NPCs/DevourerofGods/DevourerofGodsBody.cs b/NPCs/DevourerofGods/DevourerofGodsBody.cs index b1bf07c43b..8792fd74db 100644 --- a/NPCs/DevourerofGods/DevourerofGodsBody.cs +++ b/NPCs/DevourerofGods/DevourerofGodsBody.cs @@ -511,7 +511,7 @@ namespace CalamityMod.NPCs.DevourerofGods { if (hurtInfo.Damage > 0) { - target.AddBuff(ModContent.BuffType(), 240, true); + target.AddBuff(ModContent.BuffType(), 160, true); target.AddBuff(ModContent.BuffType(), 480, true); } } diff --git a/NPCs/DevourerofGods/DevourerofGodsHead.cs b/NPCs/DevourerofGods/DevourerofGodsHead.cs index b87f8d9d23..da14477c23 100644 --- a/NPCs/DevourerofGods/DevourerofGodsHead.cs +++ b/NPCs/DevourerofGods/DevourerofGodsHead.cs @@ -2840,7 +2840,7 @@ namespace CalamityMod.NPCs.DevourerofGods if (hurtInfo.Damage <= 0) return; - target.AddBuff(ModContent.BuffType(), 300, true); + target.AddBuff(ModContent.BuffType(), 200, true); target.AddBuff(ModContent.BuffType(), 600, true); if (target.Calamity().dogTextCooldown <= 0) diff --git a/NPCs/DevourerofGods/DevourerofGodsTail.cs b/NPCs/DevourerofGods/DevourerofGodsTail.cs index a878a80666..e8f2c650bc 100644 --- a/NPCs/DevourerofGods/DevourerofGodsTail.cs +++ b/NPCs/DevourerofGods/DevourerofGodsTail.cs @@ -473,7 +473,7 @@ namespace CalamityMod.NPCs.DevourerofGods { if (hurtInfo.Damage > 0) { - target.AddBuff(ModContent.BuffType(), 180, true); + target.AddBuff(ModContent.BuffType(), 120, true); target.AddBuff(ModContent.BuffType(), 360, true); } } diff --git a/Projectiles/Boss/DarkOrb.cs b/Projectiles/Boss/DarkOrb.cs index aa7273d344..71e1f6d263 100644 --- a/Projectiles/Boss/DarkOrb.cs +++ b/Projectiles/Boss/DarkOrb.cs @@ -551,7 +551,7 @@ namespace CalamityMod.Projectiles.Boss if (info.Damage <= 0) return; - target.AddBuff(ModContent.BuffType(), 300); + target.AddBuff(ModContent.BuffType(), 200); //target.AddBuff(ModContent.BuffType(), 300, true); } diff --git a/Projectiles/Boss/DoGDeath.cs b/Projectiles/Boss/DoGDeath.cs index d865fa4e2b..a556367c20 100644 --- a/Projectiles/Boss/DoGDeath.cs +++ b/Projectiles/Boss/DoGDeath.cs @@ -112,7 +112,7 @@ namespace CalamityMod.Projectiles.Boss return; if (TelegraphDelay > TelegraphTotalTime && Projectile.Opacity == 1f) - target.AddBuff(ModContent.BuffType(), 180); + target.AddBuff(ModContent.BuffType(), 120); } public override Color? GetAlpha(Color lightColor) => new Color(255, 255, 255, 0) * Projectile.Opacity; diff --git a/Projectiles/Boss/DoGFire.cs b/Projectiles/Boss/DoGFire.cs index 10ade36b56..d5a274e4f1 100644 --- a/Projectiles/Boss/DoGFire.cs +++ b/Projectiles/Boss/DoGFire.cs @@ -73,7 +73,7 @@ namespace CalamityMod.Projectiles.Boss if (info.Damage <= 0) return; - target.AddBuff(ModContent.BuffType(), 240); + target.AddBuff(ModContent.BuffType(), 160); } public override void Kill(int timeLeft) diff --git a/Projectiles/Boss/EssenceDust.cs b/Projectiles/Boss/EssenceDust.cs index f9e993da7d..d6caaf9508 100644 --- a/Projectiles/Boss/EssenceDust.cs +++ b/Projectiles/Boss/EssenceDust.cs @@ -66,7 +66,7 @@ namespace CalamityMod.Projectiles.Boss if (info.Damage <= 0) return; - target.AddBuff(ModContent.BuffType(), 180); + target.AddBuff(ModContent.BuffType(), 120); } } }