mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10: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
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue