Oracle doesn't proc off 0 damage hits
This commit is contained in:
1 parent
608bc79f13
commit
25a4ebe4ea
1 file changed
+5
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user