Show
Ignore:
Timestamp:
11/19/08 13:50:51 (17 years ago)
Author:
yumileroy
Message:

*Merge from Mangos
*[6833] More correct aura cancel for channeled spells. By VladimirMangos?.
*[6820] Cleanup spell proc event code. Avoid send same information by 2 ways to function. By VladimirMangos?.

Original author: megamage
Date: 2008-11-17 19:39:24-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/SpellAuras.cpp

    r236 r251  
    20002000        } 
    20012001 
     2002        // Waiting to Resurrect 
     2003        if(GetId()==2584) 
     2004        { 
     2005            // Waiting to resurrect spell cancel, we must remove player from resurrect queue 
     2006            if(m_target->GetTypeId() == TYPEID_PLAYER) 
     2007                if(BattleGround *bg = ((Player*)m_target)->GetBattleGround()) 
     2008                    bg->RemovePlayerFromResurrectQueue(m_target->GetGUID()); 
     2009            return; 
     2010        } 
     2011 
    20022012        // Dark Fiend 
    2003         if(GetId()==45934) 
     2013        /*if(GetId()==45934) 
    20042014        { 
    20052015            // Kill target if dispelled 
     
    20072017                m_target->DealDamage(m_target, m_target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false); 
    20082018            return; 
    2009         } 
     2019        }*/ 
    20102020 
    20112021        // Burning Winds