Jump to content

[fix] Implement spell 49018 and ranks


Guest yavi

Recommended Posts

* What bug does the patch fix? What features does the patch add?

Implement spell 49018 and ranks

* For which repository revision was the patch created?

9071

* Who has been writing this patch? Please include either forum user names or email addresses.

yavi

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 4bf98ea..f186f3b 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6684,6 +6684,17 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
                // NOTE: Trigger here on every attack and spell cast
                return false;
            }
+            if (dummySpell->SpellIconId == 1939)
+            {
+                uint32 deathCoilId = 49892;
+                SpellChainMapNext const& nextMap = sSpellMgr.GetSpellChainNext();
+                for(SpellChainMapNext::const_iterator itr = nextMap.lower_bound(49892); itr != nextMap.upper_bound(49892); ++itr)
+                {
+                    if(this->HasSpell(itr->second))deathCoilId = itr->second;
+                }
+                triggered_spell_id = deathCoilId;
+                break;
+            }
            // Mark of Blood
            if (dummySpell->Id == 49005)
            {

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • 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