mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
fix(Core/Spells): Lightning Overload should not proc off from itself. (#15595)
Fixes #15499
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user