mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-03 11:12:25 +00:00
[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:
parent
cc46b54f7f
commit
4c6dc960e4
@ -3688,7 +3688,7 @@ void Mob::CommonDamage(Mob* attacker, int64 &damage, const uint16 spell_id, cons
|
|||||||
DamageShield(attacker);
|
DamageShield(attacker);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (spell_id == SPELL_UNKNOWN && skill_used) {
|
if (spell_id == SPELL_UNKNOWN && skill_used >= EQ::skills::Skill1HBlunt) {
|
||||||
CheckNumHitsRemaining(NumHit::IncomingHitAttempts);
|
CheckNumHitsRemaining(NumHit::IncomingHitAttempts);
|
||||||
|
|
||||||
if (attacker)
|
if (attacker)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user