mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[9986] Talent 51459 and ranks affect only melee auto-attacks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
4e61280466
commit
5a8c84a2ec
2 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue