Skip to content

Commit

Permalink
[11816] Implement spell 64456 for Auriaya encounter
Browse files Browse the repository at this point in the history
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
  • Loading branch information
Xfurry authored and Schmoozerd committed Oct 8, 2011
1 parent ae13ebd commit 4cdfd06
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/game/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11815"
#define REVISION_NR "11816"
#endif // __REVISION_NR_H__

0 comments on commit 4cdfd06

Please sign in to comment.