--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-05 18:50:26 -06:00
commit bb75a8a21a
5 files changed
+33 -11

No files matched your search

+14 -8
View File
@@ -5539,6 +5539,14 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
{
switch(dummySpell->Id)
{
// Leader of the Pack
case 24932:
{
if (triggerAmount == 0)
return false;
basepoints0 = triggerAmount * GetMaxHealth() / 100;
trigger_spell_id = 34299;
}
// Healing Touch (Dreamwalker Raiment set)
case 28719:
{
@@ -5636,6 +5644,12 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
basepoints0 = triggerAmount * damage / 100;
break;
}
// Improved leader of the pack
else if (dummySpell->SpellIconID == 312 && !dummySpell->SpellFamilyFlags)
{
triggered_spell_id = 60889;
basepoints0 = triggerAmount * GetMaxPower(POWER_MANA) / 100;
}
break;
}
case SPELLFAMILY_ROGUE:
@@ -6705,14 +6719,6 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, Aura* triggeredB
}
//else if (auraSpellInfo->Id==40363)// Entangling Roots ()
// trigger_spell_id = ????;
// Leader of the Pack
else if (auraSpellInfo->Id == 24932)
{
if (triggerAmount == 0)
return false;
basepoints0 = triggerAmount * GetMaxHealth() / 100;
trigger_spell_id = 34299;
}
break;
}
case SPELLFAMILY_HUNTER: