From 4c6dc960e46bb898a1224a47c1f242730385c90f Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Mon, 6 Feb 2023 23:41:32 -0500 Subject: [PATCH] [Bug Fix] Fix CheckNumHitsRemaining() with 1H Blunt (#2846) # Notes - CheckNumHitsRemaining() wasn't working when skill ID was `0` (1H Blunt). --- zone/attack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/attack.cpp b/zone/attack.cpp index adb70f437..b4e0b60e8 100644 --- a/zone/attack.cpp +++ b/zone/attack.cpp @@ -3688,7 +3688,7 @@ void Mob::CommonDamage(Mob* attacker, int64 &damage, const uint16 spell_id, cons DamageShield(attacker); } - if (spell_id == SPELL_UNKNOWN && skill_used) { + if (spell_id == SPELL_UNKNOWN && skill_used >= EQ::skills::Skill1HBlunt) { CheckNumHitsRemaining(NumHit::IncomingHitAttempts); if (attacker)