Merge pull request #1609 from KayenEQ/npcMagicAttack2

hotfix for PR #1606 (IMMUNE MELEE NONMAGICAL)
This commit is contained in:
splose 2021-10-16 00:38:06 -04:00 committed by GitHub
commit 234bd89ed5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ void Mob::DoSpecialAttackDamage(Mob *who, EQ::skills::SkillType skill, int32 bas
if (my_hit.base_damage == 0)
my_hit.base_damage = GetBaseSkillDamage(my_hit.skill);
if (base_damage = DMG_INVULNERABLE)
if (base_damage == DMG_INVULNERABLE)
my_hit.damage_done = DMG_INVULNERABLE;
if (who->GetInvul() || who->GetSpecialAbility(IMMUNE_MELEE))