Some Fixes for Earth Shield.
Now Dispel and Spellsteal effects will correctly dispel and steal Earth Shield's charges instead of entire aura. --HG-- branch : trunk
This commit is contained in:
1 parent
7a43ad959f
commit
c239c380df
2 files changed
+37
-11
No files matched your search
@@ -3751,7 +3751,9 @@ void Spell::EffectDispel(uint32 i)
|
||||
continue;
|
||||
}
|
||||
|
||||
for (uint8 i = aur->GetStackAmount(); i; --i)
|
||||
bool dispel_charges = aur->GetSpellProto()->AttributesEx7 & SPELL_ATTR_EX7_DISPEL_CHARGES;
|
||||
|
||||
for (uint8 i = dispel_charges ? aur->GetAuraCharges() : aur->GetStackAmount(); i; --i)
|
||||
dispel_list.push_back(aur);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user