From 88cd705c26a3fb98ca756b76defa083890813410 Mon Sep 17 00:00:00 2001 From: QAston Date: Fri, 17 Jul 2009 17:26:13 +0200 Subject: *Remove some code for spells not present in dbc of 313. --HG-- branch : trunk --- src/game/Unit.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 77c8e619c19..bafcb367f3b 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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 -- cgit v1.2.3