Oracle doesn't proc off 0 damage hits

This commit is contained in:
DominicKarma authored and Cameron Ewell committed 2021-10-14 20:29:21 -04:00
1 parent 608bc79f13
commit 25a4ebe4ea
1 file changed
+5 -1
+5 -1
View File
@@ -142,7 +142,11 @@ namespace CalamityMod.Projectiles.Melee.Yoyos
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
// Charge up the red lightning aura with every hit
// On hit effects do not apply if no damage was done.
if (damage <= 0)
return;
// Charge up the red lightning aura with every hit.
AuraCharge += ChargePerHit;
// Fire Auric orbs every few hits while supercharged.