Jump to content

[fix exploit]Haunt

Guest tehmarto

Recommended Posts

Patch fixes the following exploit:

Cast haunt on a mob (works with bosses too) and not hit the mob with other spells. Than walk around another mob (not hit that one too) when the haunt buff on the mob ends, the mob casts the healing spell on you so it can do the heal effect of haunt spell. After thats done, the second mob that don't have the haunt attacks the mob that was having the haunt and they fight each other.

diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index e71b630..b0d9908 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2721,11 +2765,11 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
                    int32 bp0 = m_modifier.m_amount;

                    if (Unit* caster = GetCaster())
-                        m_target->CastCustomSpell(caster,48210,&bp0,NULL,NULL,true);
+                        caster->CastCustomSpell(caster,48210,&bp0,NULL,NULL,true);

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