fix(Core/Spells): Lightning Overload should not proc off from itself. (#15595)
Fixes #15499
This commit is contained in:
parent
7035e87543
commit
d4f8134b3b
1 changed files with 6 additions and 0 deletions
|
|
@ -8318,6 +8318,12 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
|||
if (procEx & PROC_EX_CRITICAL_HIT)
|
||||
damage /= 2;
|
||||
|
||||
// do not proc off from itself
|
||||
if (procSpell->Id == 45297 || procSpell->Id == 45284)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
do
|
||||
{
|
||||
uint32 spell = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue