mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[11816] Implement spell 64456 for Auriaya encounter
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
a25982abf6
commit
a59d1f06cc
2 changed files with 12 additions and 1 deletions
|
|
@ -7310,6 +7310,17 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
|||
|
||||
return;
|
||||
}
|
||||
case 64456: // Feral Essence Application Removal
|
||||
{
|
||||
if (unitTarget && unitTarget->HasAura(m_spellInfo->CalculateSimpleValue(eff_idx)))
|
||||
{
|
||||
if (SpellAuraHolder* pEssenceHolder = unitTarget->GetSpellAuraHolder(m_spellInfo->CalculateSimpleValue(eff_idx)))
|
||||
if (pEssenceHolder->ModStackAmount(-1))
|
||||
unitTarget->RemoveAurasDueToSpell(m_spellInfo->CalculateSimpleValue(eff_idx));
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
case 66477: // Bountiful Feast
|
||||
{
|
||||
if (!unitTarget)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "11815"
|
||||
#define REVISION_NR "11816"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue