Jump to content

[fix] Implement Death Coil bonus from Sigil of the Vengeful Heart


Guest Warlord123

Recommended Posts

[fix] Implement Death Coil bonus from Sigil of the Vengeful Heart

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

Implement bonus to Death Coil from http://www.wowhead.com/?item=45254.

For which repository revision was the patch created?

revision 9614

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

--

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

by myself

*** a/src/game/Unit.cpp    Wed Mar 24 07:57:48 2010
--- my/src/game/Unit.cpp    Fri Mar 26 06:25:39 2010
*************** uint32 Unit::SpellDamageBonus(Unit *pVic
*** 9085,9090 ****
--- 9085,9099 ----
                     }
                 }
             }
+                //Death Coil        
+            if (spellProto->SpellFamilyFlags & UI64LIT(0x002000)) 
+            {
+                 // search for Item - Death Knight T8 DPS Relic
+                 if (Aura* Sigil = GetDummyAura(64962))
+                 {
+                    DoneTotal += Sigil->GetModifier()->m_amount;
+                 }      
+            }      
             break;
         }
         default:

Link to comment
Share on other sites

  • 3 weeks later...
  • 5 months 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