mirror of
https://github.com/mangosfour/server.git
synced 2025-12-21 10:37:06 +00:00
[9458] Add exception for spell 51912 and then trigger 45668 as expected
Also remove commented code for spell 45668 Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
530be51dc5
commit
09b4acc53e
3 changed files with 11 additions and 5 deletions
|
|
@ -4579,6 +4579,14 @@ void Aura::HandlePeriodicTriggerSpell(bool apply, bool /*Real*/)
|
|||
if (m_removeMode == AURA_REMOVE_BY_DEFAULT && GetEffIndex() + 1 < MAX_EFFECT_INDEX)
|
||||
m_target->CastSpell(m_target, m_spellProto->CalculateSimpleValue(SpellEffectIndex(GetEffIndex()+1)), true);
|
||||
return;
|
||||
case 51912: // Ultra-Advanced Proto-Typical Shortening Blaster
|
||||
if (m_removeMode == AURA_REMOVE_BY_DEFAULT && m_duration <= 0)
|
||||
{
|
||||
if (Unit* pCaster = GetCaster())
|
||||
pCaster->CastSpell(m_target, m_spellProto->EffectTriggerSpell[GetEffIndex()], true, NULL, this);
|
||||
}
|
||||
|
||||
return;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue