mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 01:37:05 +00:00
Merge commit 'origin/master' into 320
Conflicts: src/game/BattleGround.cpp
This commit is contained in:
commit
546f7a7fe5
47 changed files with 985 additions and 1264 deletions
|
|
@ -2281,14 +2281,6 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
|
|||
|
||||
switch(GetId())
|
||||
{
|
||||
case 2584: // Waiting to Resurrect
|
||||
{
|
||||
// Waiting to resurrect spell cancel, we must remove player from resurrect queue
|
||||
if(m_target->GetTypeId() == TYPEID_PLAYER)
|
||||
if(BattleGround *bg = ((Player*)m_target)->GetBattleGround())
|
||||
bg->RemovePlayerFromResurrectQueue(m_target->GetGUID());
|
||||
return;
|
||||
}
|
||||
case 36730: // Flame Strike
|
||||
{
|
||||
m_target->CastSpell(m_target, 36731, true, NULL, this);
|
||||
|
|
@ -6279,7 +6271,7 @@ void Aura::HandleSchoolAbsorb(bool apply, bool Real)
|
|||
|
||||
void Aura::PeriodicTick()
|
||||
{
|
||||
if(!m_target->isAlive())
|
||||
if (!m_target->isAlive() ^ IsDeathOnlySpell(GetSpellProto()))
|
||||
return;
|
||||
|
||||
switch(m_modifier.m_auraname)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue