mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
Remove warrior debuff after some auras end
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
702105ccca
commit
5ef636dab7
1 changed files with 8 additions and 0 deletions
|
|
@ -5466,6 +5466,14 @@ void Aura::HandleSpiritOfRedemption( bool apply, bool Real )
|
||||||
|
|
||||||
void Aura::CleanupTriggeredSpells()
|
void Aura::CleanupTriggeredSpells()
|
||||||
{
|
{
|
||||||
|
if (m_spellProto->SpellFamilyName == SPELLFAMILY_WARRIOR && m_spellProto->SpellFamilyFlags & 0x0000001000000020LL)
|
||||||
|
{
|
||||||
|
// Blood Frenzy remove
|
||||||
|
m_target->RemoveAurasDueToSpell(30069);
|
||||||
|
m_target->RemoveAurasDueToSpell(30070);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
uint32 tSpellId = m_spellProto->EffectTriggerSpell[GetEffIndex()];
|
uint32 tSpellId = m_spellProto->EffectTriggerSpell[GetEffIndex()];
|
||||||
if(!tSpellId)
|
if(!tSpellId)
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue