Skip to content

Commit

Permalink
nerf ever- candles
Browse files Browse the repository at this point in the history
  • Loading branch information
direwolf420 committed May 14, 2020
1 parent f4a4c6f commit 8925978
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AssPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -846,11 +846,14 @@ public override void ModifyHitByNPC(NPC npc, ref int damage, ref bool crit)

public override void ModifyHitNPC(Item item, NPC target, ref int damage, ref float knockback, ref bool crit)
{
if (!Main.rand.NextBool(5)) return;
ApplyCandleDebuffs(target);
}

public override void ModifyHitNPCWithProj(Projectile proj, NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
{
if (!Main.rand.NextBool(5)) return;
if (proj.minion && !Main.rand.NextBool(5)) return;
ApplyCandleDebuffs(target);
}

Expand Down

0 comments on commit 8925978

Please sign in to comment.