Jump to content

[bug] Shaman T9 Elemental 4P Bonus


Guest unloading

Recommended Posts

Mangos Version: 9354, clean source

SD2 Version: 1573

Database Name and Version : YTDB r533

How it DOES work:

It is not implemented

How it SHOULD work:

Having 4 pieces of T9 elemental shaman set equipped, grants you following:

"Your Lava Burst spell causes your target to burn for an additional 10% of your spell's damage over 6 sec."

So for example, after you hit target with lava burst for 4000 damage, target should burn for additional 400 damage every 2 seconds for 6 seconds. You may verify this on live servers of course.

Link :

http://www.wowhead.com/?spell=67228

http://www.wowhead.com/?spell=71824

Now, Implementing this was piece of cake:

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 11dcfaf..5d8b2e8 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6617,6 +6617,13 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
                    triggered_spell_id = 64930;            // Electrified
                    break;
                }
+                // Shaman T9 Elemental 4P Bonus
+                case 67228:
+                {
+                    basepoints0 = int32( triggerAmount * damage / 100 );
+                    triggered_spell_id = 71824;
+                    break;
+                }
            }
            // Storm, Earth and Fire
            if (dummySpell->SpellIconID == 3063)

INSERT INTO spell_bonus_data VALUES
(71824,0,0,0,'Item - Shaman T9 Elemental 4P Bonus');

INSERT INTO `spell_proc_event` VALUES
(67228, 0x00000004, 11, 0x00000000, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

And that would be it.

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