Skip to content

Commit

Permalink
Add new effects for Burning Adrenaline spell
Browse files Browse the repository at this point in the history
* Targets will now explode as expected, dealing damage to friendlies
and go suicide when the spell Burning Adrenaline expires
  • Loading branch information
cala committed Oct 3, 2017
1 parent a007c54 commit 086da71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Expand Up @@ -16,8 +16,8 @@

/* ScriptData
SDName: Boss_Vaelastrasz
SD%Complete: 90
SDComment: Final effect of Burning Adrenaline (player explodes) is not supported / Support for quest for Scepter of the Shifting Sands epic quest chain is missing
SD%Complete: 95
SDComment: Support for quest for Scepter of the Shifting Sands epic quest chain is missing
SDCategory: Blackwing Lair
EndScriptData */

Expand Down
7 changes: 6 additions & 1 deletion src/game/Spells/SpellAuras.cpp
Expand Up @@ -5258,6 +5258,11 @@ void Aura::HandlePeriodicTriggerSpell(bool apply, bool /*Real*/)
if (m_removeMode == AURA_REMOVE_BY_EXPIRE)
target->CastSpell(target, 32612, TRIGGERED_OLD_TRIGGERED, nullptr, this);

return;
case 23620: // Burning Adrenaline
// On aura removal, the target deals AoE damage to friendlies and kills himself/herself (prevent durability loss)
target->CastSpell(target, 23478, TRIGGERED_OLD_TRIGGERED, 0, this);
target->CastSpell(target, 23644, TRIGGERED_OLD_TRIGGERED, 0, this);
return;
case 35515: // Salaadin's Tesla
if ((m_removeMode != AURA_REMOVE_BY_STACK) && (!target->HasAura(35515)))
Expand Down Expand Up @@ -5628,7 +5633,7 @@ void Aura::HandlePeriodicDamage(bool apply, bool Real)
case 41917: // Parasitic Shadowfiend - handle summoning of two Shadowfiends on DoT expire
target->CastSpell(target, 41915, TRIGGERED_OLD_TRIGGERED);
break;
}
}
}
}

Expand Down

0 comments on commit 086da71

Please sign in to comment.