mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 10:37:06 +00:00
[9464] Spell effects of itemset 883 and variants.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
fc08496048
commit
6efb768daa
6 changed files with 51 additions and 19 deletions
|
|
@ -6031,24 +6031,47 @@ void Aura::HandleSpellSpecificBoosts(bool apply)
|
|||
else
|
||||
return;
|
||||
}
|
||||
// Combustion (remove triggered aura stack)
|
||||
else if (m_spellProto->Id == 11129)
|
||||
|
||||
switch(GetId())
|
||||
{
|
||||
if(!apply)
|
||||
spellId1 = 28682;
|
||||
else
|
||||
case 11129: // Combustion (remove triggered aura stack)
|
||||
{
|
||||
if(!apply)
|
||||
spellId1 = 28682;
|
||||
else
|
||||
return;
|
||||
break;
|
||||
}
|
||||
case 28682: // Combustion (remove main aura)
|
||||
{
|
||||
if(!apply)
|
||||
spellId1 = 11129;
|
||||
else
|
||||
return;
|
||||
break;
|
||||
}
|
||||
case 44401: // Missile Barrage (triggered)
|
||||
case 48108: // Hot Streak (triggered)
|
||||
case 57761: // Fireball! (Brain Freeze triggered)
|
||||
{
|
||||
// consumed aura
|
||||
if (!apply && m_removeMode == AURA_REMOVE_BY_DEFAULT && m_duration != 0)
|
||||
{
|
||||
Unit* caster = GetCaster();
|
||||
// Item - Mage T10 2P Bonus
|
||||
if (!caster || !caster->HasAura(70752))
|
||||
return;
|
||||
|
||||
cast_at_remove = true;
|
||||
spellId1 = 70753; // Pushing the Limit
|
||||
}
|
||||
else
|
||||
return;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
return;
|
||||
}
|
||||
// Combustion (remove main aura)
|
||||
else if (m_spellProto->Id == 28682)
|
||||
{
|
||||
if(!apply)
|
||||
spellId1 = 11129;
|
||||
else
|
||||
return;
|
||||
}
|
||||
else
|
||||
return;
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_WARRIOR:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue