[9986] Talent 51459 and ranks affect only melee auto-attacks.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
insider42 2010-05-28 00:08:08 +04:00 committed by VladimirMangos
parent 4e61280466
commit 5a8c84a2ec
2 changed files with 5 additions and 1 deletions

View file

@ -7007,6 +7007,10 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
// Necrosis
if (dummySpell->SpellIconID == 2709)
{
// only melee auto attack affected
if (!(procFlag & PROC_FLAG_SUCCESSFUL_MELEE_HIT))
return false;
basepoints[0] = triggerAmount * damage / 100;
triggered_spell_id = 51460;
break;