Skip to content

Commit

Permalink
[9986] Talent 51459 and ranks affect only melee auto-attacks.
Browse files Browse the repository at this point in the history
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
insider42 authored and VladimirMangos committed May 27, 2010
1 parent c6112dc commit 5ef2e49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/game/Unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9985"
#define REVISION_NR "9986"
#endif // __REVISION_NR_H__

0 comments on commit 5ef2e49

Please sign in to comment.