diff options
| author | QAston <qaston@gmail.com> | 2011-07-27 20:37:28 +0200 |
|---|---|---|
| committer | QAston <qaston@gmail.com> | 2011-07-27 20:37:28 +0200 |
| commit | 46851c3fda1405bb4195f6b66478cb0661604b15 (patch) | |
| tree | 69c9d445298662a5ca1ef9d9b05631bb8756b4d0 /src | |
| parent | 0dcc22907114508141cbabbca69aeaa0791feb79 (diff) | |
Core/Spells: Drop obsolete code for Demonic Sacrifice.
Diffstat (limited to 'src')
| -rwxr-xr-x | src/server/game/Spells/SpellEffects.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 7564699c256..d270d6741fe 100755 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -269,26 +269,6 @@ void Spell::EffectInstaKill(SpellEffIndex /*effIndex*/) if (!unitTarget || !unitTarget->isAlive()) return; - // Demonic Sacrifice - if (m_spellInfo->Id == 18788 && unitTarget->GetTypeId() == TYPEID_UNIT) - { - uint32 entry = unitTarget->GetEntry(); - uint32 spellID; - switch (entry) - { - case 416: spellID = 18789; break; //imp - case 417: spellID = 18792; break; //fellhunter - case 1860: spellID = 18790; break; //void - case 1863: spellID = 18791; break; //succubus - case 17252: spellID = 35701; break; //fellguard - default: - sLog->outError("EffectInstaKill: Unhandled creature entry (%u) case.", entry); - return; - } - - m_caster->CastSpell(m_caster, spellID, true); - } - if (m_caster == unitTarget) // prevent interrupt message finish(); |
