Absorber nerfs

Also ran Ctrl + K + Ctrl + D on CalamityPlayerHitHurt.cs
This commit is contained in:
Storm2103 committed 2023-08-28 22:23:56 -06:00
1 parent 907de4f71e
commit 5ed552ae7d
5 files changed
+12 -12

No files matched your search

+6 -6
View File
@@ -1157,20 +1157,20 @@ namespace CalamityMod.CalPlayer
// As such, to avoid cooldowns proccing from dodge hits, do it here
if (fleshTotem && !Player.HasCooldown(Cooldowns.FleshTotem.ID) && hurtInfo.Damage > 0)
Player.AddCooldown(Cooldowns.FleshTotem.ID, CalamityUtils.SecondsToFrames(20), true, coreOfTheBloodGod ? "bloodgod" : "default");
if (NPC.AnyNPCs(ModContent.NPCType<THELORDE>()))
{
Player.AddBuff(ModContent.BuffType<NOU>(), 15, true);
}
if (crawCarapace)
{
npc.AddBuff(ModContent.BuffType<Crumbling>(), 720);
npc.AddBuff(ModContent.BuffType<Crumbling>(), 900);
SoundEngine.PlaySound(SoundID.NPCHit33 with { Volume = 0.5f }, Player.Center);
}
if (baroclaw)
{
npc.AddBuff(ModContent.BuffType<ArmorCrunch>(), 1800);
npc.AddBuff(ModContent.BuffType<CrushDepth>(), 1800);
npc.AddBuff(ModContent.BuffType<ArmorCrunch>(), 900);
npc.AddBuff(ModContent.BuffType<CrushDepth>(), 900);
SoundEngine.PlaySound(BaroclawHit, Player.Center);
Vector2 bloodSpawnPosition = Player.Center + Main.rand.NextVector2Circular(Player.width, Player.height) * 0.04f;
Vector2 splatterDirection = (Player.Center - bloodSpawnPosition).SafeNormalize(Vector2.UnitY);
@@ -1189,7 +1189,7 @@ namespace CalamityMod.CalPlayer
if (absorber)
{
npc.AddBuff(ModContent.BuffType<AbsorberAffliction>(), 1800);
npc.AddBuff(ModContent.BuffType<AbsorberAffliction>(), 900);
SoundEngine.PlaySound(AbsorberHit, Player.Center);
Vector2 bloodSpawnPosition = Player.Center + Main.rand.NextVector2Circular(Player.width, Player.height) * 0.04f;
Vector2 splatterDirection = (Player.Center - bloodSpawnPosition).SafeNormalize(Vector2.UnitY);
+2 -2
View File
@@ -2366,8 +2366,8 @@ namespace CalamityMod.CalPlayer
if (AbsorberRegen)
{
Player.GetDamage<GenericDamageClass>() += 0.1f;
Player.endurance += 0.07f;
Player.GetDamage<GenericDamageClass>() += 0.08f;
Player.endurance += 0.05f;
}
if (crawCarapace)
+1 -1
View File
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Accessories
public new string LocalizationCategory => "Items.Accessories";
public override void SetDefaults()
{
Item.defense = 16;
Item.defense = 15;
Item.width = 20;
Item.height = 24;
Item.value = CalamityGlobalItem.Rarity9BuyPrice;
+2 -2
View File
@@ -1014,7 +1014,7 @@ namespace CalamityMod.NPCs
//Absorber Affliction
if (absorberAffliction > 0)
{
int baseAbsorberDoTValue = (int)(260 * sicknessDamageMult);
int baseAbsorberDoTValue = (int)(400 * sicknessDamageMult);
ApplyDPSDebuff(baseAbsorberDoTValue, baseAbsorberDoTValue / 65, ref npc.lifeRegen, ref damage);
}
@@ -2690,7 +2690,7 @@ namespace CalamityMod.NPCs
if (marked > 0)
calcDR *= 0.5f;
if (absorberAffliction > 0)
calcDR *= 0.7f;
calcDR *= 0.8f;
if (npc.betsysCurse)
calcDR *= 0.66f;
if (npc.Calamity().kamiFlu > 0)
+1 -1
View File
@@ -52,7 +52,7 @@ namespace CalamityMod.Projectiles.Typless
//Remove the players debuffs and defense damage, but only once per aura
if (targetDist < 232f)
{
player.AddBuff(ModContent.BuffType<AbsorberRegen>(), 900);
player.AddBuff(ModContent.BuffType<AbsorberRegen>(), 600);
if (cleanseList[playerIndex] == false)
{
cleanseList[playerIndex] = true;