[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 // Necrosis
if (dummySpell->SpellIconID == 2709) if (dummySpell->SpellIconID == 2709)
{ {
// only melee auto attack affected
if (!(procFlag & PROC_FLAG_SUCCESSFUL_MELEE_HIT))
return false;
basepoints[0] = triggerAmount * damage / 100; basepoints[0] = triggerAmount * damage / 100;
triggered_spell_id = 51460; triggered_spell_id = 51460;
break; break;

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9985" #define REVISION_NR "9986"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__