Jump to content

[fix][7659] Eye for an Eye


Guest Lightguard

Recommended Posts

"2"

- This patch would fix the bug that Eye for an Eye can proc only on spellcrits.

"2"

- 7614

"2"

- Didn't find any.

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 24d9ca6..ff526be 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -4447,7 +4447,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
                case 25988:
                {
                    // prevent damage back from weapon special attacks
-                    if (!procSpell || procSpell->DmgClass != SPELL_DAMAGE_CLASS_MAGIC )
+                    if (!procSpell)
                        return false;

                    // return damage % to attacker but < 50% own total health 

Patchfile

Link to comment
Share on other sites

×
×
  • 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