mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[11013] Implemented spell 34026 and bonus to it from talent 35029 and ranks
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
1e8ca772b3
commit
f9a6513d38
4 changed files with 102 additions and 47 deletions
|
|
@ -947,6 +947,17 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
|
|||
owner->CastSpell(owner,58227,true,castItem,triggeredByAura);
|
||||
return SPELL_AURA_PROC_OK;
|
||||
}
|
||||
// Kill Command, pet aura
|
||||
case 58914:
|
||||
{
|
||||
// also decrease owner buff stack
|
||||
if (Unit* owner = GetOwner())
|
||||
owner->RemoveAuraHolderFromStack(34027);
|
||||
|
||||
// Remove only single aura from stack
|
||||
if (triggeredByAura->GetStackAmount() > 1 && !triggeredByAura->GetHolder()->ModStackAmount(-1))
|
||||
return SPELL_AURA_PROC_CANT_TRIGGER;
|
||||
}
|
||||
// Glyph of Life Tap
|
||||
case 63320:
|
||||
triggered_spell_id = 63321;
|
||||
|
|
@ -3774,16 +3785,6 @@ SpellAuraProcResult Unit::HandleAddPctModifierAuraProc(Unit* /*pVictim*/, uint32
|
|||
|
||||
switch(spellInfo->SpellFamilyName)
|
||||
{
|
||||
case SPELLFAMILY_GENERIC:
|
||||
{
|
||||
if (spellInfo->Id == 34027) // Kill Command
|
||||
{
|
||||
// Remove only single aura from stack
|
||||
if (triggeredByAura->GetStackAmount() > 1 && !triggeredByAura->GetHolder()->ModStackAmount(-1))
|
||||
return SPELL_AURA_PROC_CANT_TRIGGER;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_MAGE:
|
||||
{
|
||||
// Combustion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue