mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[10232] Fix mechanic-related check, thanks to VladimirMangos
This commit is contained in:
parent
0065693c4c
commit
d8c1374fcd
6 changed files with 14 additions and 8 deletions
|
|
@ -10180,7 +10180,7 @@ void Unit::RemoveAurasAtMechanicImmunity(uint32 mechMask, uint32 exceptSpellId,
|
|||
++iter;
|
||||
else if (spell->Attributes & SPELL_ATTR_UNAFFECTED_BY_INVULNERABILITY)
|
||||
++iter;
|
||||
else if (iter->second->HasAuraAndMechanicEffectMask(mechMask))
|
||||
else if (iter->second->HasMechanicMask(mechMask))
|
||||
{
|
||||
RemoveAurasDueToSpell(spell->Id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue