*Remove some code for spells not present in dbc of 313.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-17 17:26:13 +02:00
parent d6bd04ab0d
commit 88cd705c26
7 changed files with 5 additions and 49 deletions

View File

@@ -2023,11 +2023,6 @@ void Unit::CalcAbsorbResist(Unit *pVictim,SpellSchoolMask schoolMask, DamageEffe
}
case SPELLFAMILY_DEATHKNIGHT:
{
// Shadow of Death
if (spellProto->Id == 49157)
{
continue;
}
// Anti-Magic Shell (on self)
if (spellProto->Id == 48707)
{
@@ -8513,14 +8508,6 @@ void Unit::ModifyAuraState(AuraState flag, bool apply)
SpellEntry const* spellProto = (*itr).second->GetSpellProto();
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[0]==0x100000)
{
++itr;
continue;
}
RemoveAura(itr);
}
else