Jump to content

[fix] spell 38736


Guest KiriX

Recommended Posts

1) Patch fix spell http://www.wowhead.com/spell=38736 and make quest http://www.wowhead.com/quest=10839 completible

2) for rev. 9808

3) Author: me

Triggering aura from spell 38736 have TARGET_SCRIPT, but trigger spell (38729) have effect Quest_Complete with TARGET_SELF, so it must be cast from player.

diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 39ab05e..fb1b79a 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2205,6 +2205,13 @@ void Aura::TriggerSpell()
            case 33525:
                target->CastSpell(target, trigger_spell_id, true, NULL, this, casterGUID);
                return;
+            // Rod of Purification - for quest 10839 (Veil Skith: Darkstone of Terokk)
+            case 38736:
+            {
+                Unit* caster = GetCaster();
+                caster->CastSpell(target, trigger_spell_id, true, NULL, this);
+                return;
+            }
            // Beacon of Light
            case 53563:
                // original caster must be target (beacon)

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