mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +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
|
|
@ -717,7 +717,7 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
|
|||
SpellEntry const *spell = iter->second->GetSpellProto();
|
||||
|
||||
if( spell->Mechanic == MECHANIC_STUN ||
|
||||
iter->second->HasAuraAndMechanicEffect(MECHANIC_STUN))
|
||||
iter->second->HasMechanic(MECHANIC_STUN))
|
||||
{
|
||||
pVictim->RemoveAurasDueToSpell(spell->Id);
|
||||
iter = Auras.begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue