Core/Spells: fix proc for king of the jungle talent. closes #5983
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
UPDATE `spell_proc_event` SET `procFlags` = 16384 WHERE `entry` in (48492,48494,48495);
|
||||||
@@ -6423,7 +6423,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
|||||||
// Effect 0 - mod damage while having Enrage
|
// Effect 0 - mod damage while having Enrage
|
||||||
if (effIndex == 0)
|
if (effIndex == 0)
|
||||||
{
|
{
|
||||||
if (!(procSpell->SpellFamilyFlags[0] & 0x00080000))
|
if (!(procSpell->SpellFamilyFlags[0] & 0x00080000) || procSpell->SpellIconID != 916)
|
||||||
return false;
|
return false;
|
||||||
triggered_spell_id = 51185;
|
triggered_spell_id = 51185;
|
||||||
basepoints0 = triggerAmount;
|
basepoints0 = triggerAmount;
|
||||||
@@ -6433,7 +6433,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
|||||||
// Effect 1 - Tiger's Fury restore energy
|
// Effect 1 - Tiger's Fury restore energy
|
||||||
else if (effIndex == 1)
|
else if (effIndex == 1)
|
||||||
{
|
{
|
||||||
if (!(procSpell->SpellFamilyFlags[2] & 0x00000800))
|
if (!(procSpell->SpellFamilyFlags[2] & 0x00000800) || procSpell->SpellIconID != 1181)
|
||||||
return false;
|
return false;
|
||||||
triggered_spell_id = 51178;
|
triggered_spell_id = 51178;
|
||||||
basepoints0 = triggerAmount;
|
basepoints0 = triggerAmount;
|
||||||
|
|||||||
Reference in New Issue
Block a user