Jump to content

[patch] Fix A Bug Of Periodic Trigger Aura


Auntie Mangos
 Share

Recommended Posts

  • 38 years later...

How to check this bug:

use spell 17738 or 43648 on a creature. Then you will see the creature has the aura, but you are triggering triggered spells and taken damage.

Index: SpellAuras.cpp
===================================================================
--- SpellAuras.cpp        (revision 6412)
+++ SpellAuras.cpp        (working copy)
@@ -1835,7 +1848,7 @@
                }
        }
        // All ok cast by default case
-        Spell *spell = new Spell(caster, triggredSpellInfo, true, originalCasterGUID );
+        Spell *spell = new Spell(m_target, triggredSpellInfo, true, originalCasterGUID );

        SpellCastTargets targets;
        targets.setUnitTarget( target );

Link to comment
Share on other sites

As with your other patches to spells and spell effects, is this code applied to unit.cpp?

Thank you for working on behalf of all mages everywhere! :)

[EDIT]

I just noticed your other patch for Periodic Trigger Aura is applied to SpellAuras.cpp

Do I then apply this section of code posted here to the other patch to create a unified patch?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

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