diff options
-rw-r--r-- | sql/FULL/world_spell_full.sql | 3 | ||||
-rw-r--r-- | sql/updates/5153_world_spell_proc_event.sql | 3 | ||||
-rw-r--r-- | src/game/Unit.cpp | 13 |
3 files changed, 18 insertions, 1 deletions
diff --git a/sql/FULL/world_spell_full.sql b/sql/FULL/world_spell_full.sql index 76fbebb274a..3503699d1bf 100644 --- a/sql/FULL/world_spell_full.sql +++ b/sql/FULL/world_spell_full.sql @@ -1528,7 +1528,8 @@ INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `Spell ( 50033, 0x00, 15, 0x00000010, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Death Rune Mastery ( 50034, 0x00, 15, 0x00000010, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Death Rune Mastery ( 63373, 0x00, 11, 0x80000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0, 0, 0), -- Frozen Power (Rank 1) -( 63374, 0x00, 11, 0x80000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0, 0, 0); -- Frozen Power (Rank 2) +( 63374, 0x00, 11, 0x80000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0, 0, 0), -- Frozen Power (Rank 2) +( 54821, 0x00, 7, 0x00001000, 0x00000000, 0x00000000, 0x00000010, 0x00000000, 0, 0, 0); -- Glyph of Rake -- -------- -- ENCHANT PROC diff --git a/sql/updates/5153_world_spell_proc_event.sql b/sql/updates/5153_world_spell_proc_event.sql new file mode 100644 index 00000000000..7b8b82738fb --- /dev/null +++ b/sql/updates/5153_world_spell_proc_event.sql @@ -0,0 +1,3 @@ +DELETE FROM `spell_proc_event` WHERE `entry` = 54821; +INSERT INTO `spell_proc_event` ( `entry` , `SpellFamilyName` , `SpellFamilyMask0` , `procFlags`) VALUES +(54821, 7, 0x00001000, 0x00000010); -- Glyph of Rake diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 25e077cc97c..68521f8f215 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -5761,6 +5761,19 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger { switch(dummySpell->Id) { + // Glyph of Rake + case 54821: + { + if (procSpell->SpellVisual[0] == 750 && procSpell->EffectApplyAuraName[1] == 3) + { + if (target->GetTypeId() == TYPEID_UNIT) + { + triggered_spell_id = 54820; + break; + } + } + return false; + } // Savage Roar (aura recast on return to cat form) case 52610: { |