Merge pull request #7797 from Warpten/kingOfTehWorld
Core/Spells: Fixed King of the Jungle. (alphabetical order!)
This commit is contained in:
commit
198c0346e2
3 files changed
+349
-309
No files matched your search
@@ -6448,30 +6448,6 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
||||
basepoints0 = CalculatePctN(int32(damage), triggerAmount);
|
||||
break;
|
||||
}
|
||||
// King of the Jungle
|
||||
else if (dummySpell->SpellIconID == 2850)
|
||||
{
|
||||
// Effect 0 - mod damage while having Enrage
|
||||
if (effIndex == 0)
|
||||
{
|
||||
if (!(procSpell->SpellFamilyFlags[0] & 0x00080000) || procSpell->SpellIconID != 961)
|
||||
return false;
|
||||
triggered_spell_id = 51185;
|
||||
basepoints0 = triggerAmount;
|
||||
target = this;
|
||||
break;
|
||||
}
|
||||
// Effect 1 - Tiger's Fury restore energy
|
||||
else if (effIndex == 1)
|
||||
{
|
||||
if (!(procSpell->SpellFamilyFlags[2] & 0x00000800) || procSpell->SpellIconID != 1181)
|
||||
return false;
|
||||
triggered_spell_id = 51178;
|
||||
basepoints0 = triggerAmount;
|
||||
target = this;
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_ROGUE:
|
||||
|
||||
Reference in new issue
Block a user