[Bug Fix] Fix CheckNumHitsRemaining() with 1H Blunt (#2846)

# Notes
- CheckNumHitsRemaining() wasn't working when skill ID was `0` (1H Blunt).
This commit is contained in:
Alex King 2023-02-06 23:41:32 -05:00 committed by GitHub
parent cc46b54f7f
commit 4c6dc960e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)