Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
focused fire dummy proc at kill command
  • Loading branch information
pasdVn committed Jul 31, 2009
1 parent b98ea32 commit 6273b01
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/game/SpellAuras.cpp
Expand Up @@ -2239,8 +2239,15 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
caster->RemoveAurasDueToSpell(34027);
return;
}
case 34026:
{
// kill command, remove focused fire bonus
if(!caster)
return;
caster->RemoveAurasDueToSpell(60110);
caster->RemoveAurasDueToSpell(60113);
}
}

if (caster && m_removeMode == AURA_REMOVE_BY_DEATH)
{
// Stop caster Arcane Missle chanelling on death
Expand Down
9 changes: 8 additions & 1 deletion src/game/Unit.cpp
Expand Up @@ -5505,7 +5505,14 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
target = this;
break;
}
break;
// Focused Fire, kill command proc
if ( dummySpell->Id == 35029 || dummySpell->Id == 35030 )
{
triggered_spell_id = dummySpell->Id == 35029 ? 60110 : 60113;
target = this;
break;
}
break;
}
case SPELLFAMILY_PALADIN:
{
Expand Down

0 comments on commit 6273b01

Please sign in to comment.