Jump to content

[fix][8912] item and spell:idol of mutilation


Auntie Mangos

Recommended Posts

this fix not made by me,

Original autor:Sarjuuk

http://getmangos.eu/community/member.php?u=3717

problem:

item idol of mutilation doesnt work, 0% proc :(

http://www.wowhead.com/?item=47668

core 8779

addons: sd2 ,ahbot

DB side fix

DELETE FROM `spell_proc_event WHERE `entry` = 67353;
INSERT INTO `spell_proc_event` VALUES
(67353, 0, 7, 0x8000, 0x00100500, 0x0, 0, 0, 0, 0, 0);

core side fix:

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index c52ce4a..4656368 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -6950,6 +6950,18 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB
                            return false;
                    }
                }
+                // Druid T9 Feral Relic (Lacerate, Swipe, Mangle, and Shred)
+                else if (auraSpellInfo->Id==67353)
+                {
+                    switch(m_form)
+                    {
+                        case FORM_CAT:      trigger_spell_id = 67355; break;
+                        case FORM_BEAR:
+                        case FORM_DIREBEAR: trigger_spell_id = 67354; break;
+                        default:
+                            return false;
+                    }
+                }
                //else if (auraSpellInfo->Id==40363)// Entangling Roots ()
                //    trigger_spell_id = ????;
                break;

works fine, review it or post coments thank:)

Link to comment
Share on other sites

  • 39 years later...
Guest
This topic is now closed to further replies.
×
×
  • 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