Jump to content

[patch]Unholy Blight


Recommended Posts

Posted

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

fixes Unholy Blight

For which repository revision was the patch created?

8967

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

haven't seen any

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

me

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index b5112b6..fe70a2c 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6620,6 +6620,13 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
                triggered_spell_id = 61607;
                break;
            }
+            // Unholy Blight
+            if (dummySpell->Id == 49194)
+            {
+                basepoints0 = triggerAmount * damage / 100;
+                triggered_spell_id = 50536;
+                break;
+            }
            // Vendetta
            if (dummySpell->SpellFamilyFlags & UI64LIT(0x0000000000010000))
            {

sql:

-- (49194) Unholy Blight ()
DELETE FROM `spell_proc_event` WHERE `entry` IN (49194);
INSERT INTO `spell_proc_event` VALUES
(49194, 0x00, 15, 0x00002000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

  • 4 weeks later...
Posted

This patch dosen't work as intended.

It does 20% every tick instead of 20% total.

For example is Death coil deals 500 damage then Unholy Blight deals 100 every tick.

It sould deal 100 total and 10 every tick. (or how many ticks are in 10 seconds).

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