Jump to content

[Fix] Master of Elements


Recommended Posts

Posted

Description of the bug?

Master of Elements was allowed to procc only from second effect which does not exist in 3.3.2 DBC, i have no idea but i think it was added in 3.3.0 cause neither 3.3.2 nor 3.2.2 has second effect, removing effIndex limitation enables talent proccing.

For which repository revision was the patch created?

9377

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index f163012..6e0aca1 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5505,9 +5505,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
                if(!procSpell)
                    return false;

-                if (effIndex!=1)
-                    return true;
-
                // mana cost save
                int32 cost = procSpell->manaCost + procSpell->ManaCostPercentage * GetCreateMana() / 100;
                basepoints0 = cost * triggerAmount/100;

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use