mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 22:37:04 +00:00
[11205] Implement talent 48492 and ranks.
Signed-off-by: Lynx3d <lynx3d@some-imaginary-isp.org>
This commit is contained in:
parent
02a07e6bc7
commit
bef47ce126
7 changed files with 36 additions and 3 deletions
|
|
@ -9003,6 +9003,8 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply)
|
|||
// Barkskin
|
||||
if (GetId()==22812 && m_target->HasAura(63057)) // Glyph of Barkskin
|
||||
spellId1 = 63058; // Glyph - Barkskin 01
|
||||
else if (!apply && GetId() == 5229) // Enrage (Druid Bear)
|
||||
spellId1 = 51185; // King of the Jungle (Enrage damage aura)
|
||||
else
|
||||
return;
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -1609,6 +1609,28 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
|
|||
return SPELL_AURA_PROC_OK;
|
||||
}
|
||||
}
|
||||
// King of the Jungle
|
||||
if (dummySpell->SpellIconID == 2850)
|
||||
{
|
||||
switch (effIndex)
|
||||
{
|
||||
case EFFECT_INDEX_0: // Enrage (bear)
|
||||
{
|
||||
// note : aura removal is done in SpellAuraHolder::HandleSpellSpecificBoosts
|
||||
basepoints[0] = triggerAmount;
|
||||
triggered_spell_id = 51185;
|
||||
break;
|
||||
}
|
||||
case EFFECT_INDEX_1: // Tiger's Fury (cat)
|
||||
{
|
||||
basepoints[0] = triggerAmount;
|
||||
triggered_spell_id = 51178;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
return SPELL_AURA_PROC_FAILED;
|
||||
}
|
||||
}
|
||||
// Eclipse
|
||||
if (dummySpell->SpellIconID == 2856)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue