From 783714aff351ce60b40e7d15796622b5f4e5d7ca Mon Sep 17 00:00:00 2001 From: "QAston@qaston-pc" Date: Sun, 1 Mar 2009 02:46:33 +0100 Subject: *Fix Penance. *Remove some hacks from channeled spells related code. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/game/SpellAuras.cpp') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index b518e5770cb..1ae6880f2c5 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -1975,25 +1975,6 @@ void Aura::HandleAuraDummy(bool apply, bool Real) return; } - if (caster && m_removeMode == AURA_REMOVE_BY_DEATH) - { - // Stop caster Arcane Missle chanelling on death - if (m_spellProto->SpellFamilyName == SPELLFAMILY_MAGE && - m_spellProto->SpellFamilyFlags[0] & 0x800) - { - caster->InterruptSpell(CURRENT_CHANNELED_SPELL); - return; - } - // Stop caster Penance chanelling on death - if (m_spellProto->SpellFamilyName == SPELLFAMILY_PRIEST && - m_spellProto->SpellFamilyFlags[2] & 0x00000080) - { - caster->InterruptSpell(CURRENT_CHANNELED_SPELL); - return; - } - - } - // some auras remove at aura remove if(GetEffIndex()==0 && m_target->GetTypeId()==TYPEID_PLAYER) { -- cgit v1.2.3