mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9683] Drop dead code in 3.x for spell 29801.
This commit is contained in:
parent
570852e70e
commit
ff137bba24
1 changed files with 0 additions and 10 deletions
|
|
@ -8566,17 +8566,7 @@ void Unit::ModifyAuraState(AuraState flag, bool apply)
|
||||||
{
|
{
|
||||||
SpellEntry const* spellProto = (*itr).second->GetSpellProto();
|
SpellEntry const* spellProto = (*itr).second->GetSpellProto();
|
||||||
if (spellProto->CasterAuraState == flag)
|
if (spellProto->CasterAuraState == flag)
|
||||||
{
|
|
||||||
// exceptions (applied at state but not removed at state change)
|
|
||||||
// Rampage
|
|
||||||
if(spellProto->SpellIconID==2006 && spellProto->SpellFamilyName==SPELLFAMILY_WARRIOR && spellProto->SpellFamilyFlags==0x100000)
|
|
||||||
{
|
|
||||||
++itr;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
RemoveAura(itr);
|
RemoveAura(itr);
|
||||||
}
|
|
||||||
else
|
else
|
||||||
++itr;
|
++itr;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue