*Fix Glyph of Rake
--HG-- branch : trunk
This commit is contained in:
1 parent
937fd6d632
commit
5c285e93b9
3 files changed
+18
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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:
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user