mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 19:37:02 +00:00
[8334] Small cleanup in magic shield back damage code.
Also misc variable use consistence in aura hander (no any affect expected).
This commit is contained in:
parent
a2b952b15e
commit
fe4b057dc2
3 changed files with 6 additions and 8 deletions
|
|
@ -4032,7 +4032,7 @@ void Aura::HandleModMechanicImmunity(bool apply, bool /*Real*/)
|
|||
|
||||
if(apply && GetSpellProto()->AttributesEx & SPELL_ATTR_EX_DISPEL_AURAS_ON_IMMUNITY)
|
||||
{
|
||||
uint32 mechanic = 1 << m_modifier.m_miscvalue;
|
||||
uint32 mechanic = 1 << misc;
|
||||
|
||||
//immune movement impairment and loss of control
|
||||
if(GetId()==42292 || GetId()==59752)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue