*Fix king of the Jungle.
--HG-- branch : trunk
This commit is contained in:
@@ -74,6 +74,7 @@ INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comm
|
||||
( -52610, -62071, 0, 'Savage Roar'),
|
||||
(51209, 55095, 1, 'Hungering cold - frost fever'),
|
||||
(50334, 58923, 2, 'Berserk - modify target number aura'),
|
||||
( -5229, -51185, 0, 'King of the Jungle - remove with enrage'),
|
||||
|
||||
-- Creature
|
||||
( 36574, 36650, 0, 'Apply Phase Slip Vulnerability'),
|
||||
@@ -1141,6 +1142,9 @@ INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `Spell
|
||||
( 48483, 0x00, 7, 0x00008800, 0x00000440, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Infected Wounds (Rank 1)
|
||||
( 48484, 0x00, 7, 0x00008800, 0x00000440, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Infected Wounds (Rank 2)
|
||||
( 48485, 0x00, 7, 0x00008800, 0x00000440, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Infected Wounds (Rank 3)
|
||||
( 48492, 0x00, 7, 0x00080000, 0x00000000, 0x00000800, 0x00000400, 0x00000000, 0, 0, 0), -- King of the Jungle (Rank1)
|
||||
( 48494, 0x00, 7, 0x00080000, 0x00000000, 0x00000800, 0x00000400, 0x00000000, 0, 0, 0), -- King of the Jungle (Rank2)
|
||||
( 48495, 0x00, 7, 0x00080000, 0x00000000, 0x00000800, 0x00000400, 0x00000000, 0, 0, 0), -- King of the Jungle (Rank3)
|
||||
( 48496, 0x00, 7, 0x00000060, 0x02000002, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Living Seed (Rank 1)
|
||||
( 48499, 0x00, 7, 0x00000060, 0x02000002, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Living Seed (Rank 2)
|
||||
( 48500, 0x00, 7, 0x00000060, 0x02000002, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Living Seed (Rank 3)
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
DELETE FROM `spell_proc_event` WHERE `entry` IN (48492, 48494, 48495);
|
||||
INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) VALUES
|
||||
( 48492, 0x00, 7, 0x00080000, 0x00000000, 0x00000800, 0x00000400, 0x00000000, 0, 0, 0), -- King of the Jungle (Rank1)
|
||||
( 48494, 0x00, 7, 0x00080000, 0x00000000, 0x00000800, 0x00000400, 0x00000000, 0, 0, 0), -- King of the Jungle (Rank2)
|
||||
( 48495, 0x00, 7, 0x00080000, 0x00000000, 0x00000800, 0x00000400, 0x00000000, 0, 0, 0); -- King of the Jungle (Rank3)
|
||||
|
||||
DELETE FROM `spell_linked_spell` WHERE `spell_trigger` IN (-5229);
|
||||
INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
|
||||
( -5229, -51185, 0, 'King of the Jungle - remove with enrage');
|
||||
@@ -6000,6 +6000,30 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
||||
basepoints0 = triggerAmount * damage / 100;
|
||||
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))
|
||||
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))
|
||||
return false;
|
||||
triggered_spell_id = 51178;
|
||||
basepoints0 = triggerAmount;
|
||||
target = this;
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_ROGUE:
|
||||
|
||||
Reference in New Issue
Block a user