Absorber nerfs
Also ran Ctrl + K + Ctrl + D on CalamityPlayerHitHurt.cs
This commit is contained in:
1 parent
907de4f71e
commit
5ed552ae7d
5 files changed
+12
-12
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user