Deep Sea Dumbbell no longer permanently reduces defense.

This commit is contained in:
Ozzatron committed 2021-02-15 18:58:55 -05:00
1 parent 4312920ffb
commit 2bed8632ed
4 files changed
-12

No files matched your search

-3
View File
@@ -75,9 +75,6 @@ namespace CalamityMod.Projectiles.Rogue
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
if (target.defense > 0)
target.defense -= 15;
target.AddBuff(ModContent.BuffType<CrushDepth>(), 600);
Main.PlaySound(SoundID.NPCKilled, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.35f, 0f);
-3
View File
@@ -82,9 +82,6 @@ namespace CalamityMod.Projectiles.Rogue
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
if (target.defense > 0)
target.defense -= 15;
target.AddBuff(ModContent.BuffType<CrushDepth>(), 600);
Main.PlaySound(SoundID.NPCKilled, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.35f, 0f);
-3
View File
@@ -74,9 +74,6 @@ namespace CalamityMod.Projectiles.Rogue
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
if (target.defense > 0)
target.defense -= 15;
target.AddBuff(ModContent.BuffType<CrushDepth>(), 600);
Main.PlaySound(SoundID.NPCKilled, (int)projectile.position.X, (int)projectile.position.Y, 43, 0.35f, 0f);
@@ -60,9 +60,6 @@ namespace CalamityMod.Projectiles.Rogue
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
if (target.defense > 0)
target.defense -= 15;
target.AddBuff(ModContent.BuffType<CrushDepth>(), 600);
}