Core/Auras: Allow stacking of auras proced from different items

Closes issue #2296.

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-12-20 11:04:48 +01:00
parent 6ec717ed5b
commit 756ee5832b
4 changed files with 27 additions and 27 deletions

View File

@@ -501,7 +501,7 @@ class spell_gen_animal_blood : public SpellScriptLoader
void OnApply(AuraEffect const* /*aurEff*/, AuraApplication const* /*aurApp*/, AuraEffectHandleModes /*mode*/)
{
// Remove all auras with spell id 46221, except the one currently being applied
while (Aura* aur = GetUnitOwner()->GetOwnedAura(SPELL_ANIMAL_BLOOD, 0, 0, GetAura()))
while (Aura* aur = GetUnitOwner()->GetOwnedAura(SPELL_ANIMAL_BLOOD, 0, 0, 0, GetAura()))
GetUnitOwner()->RemoveOwnedAura(aur);
}