Skip to content

Commit

Permalink
[9848] Add script effect of spell 47393, 47615 and 47638
Browse files Browse the repository at this point in the history
Signed-off-by: NoFantasy <nofantasy@nf.no>
  • Loading branch information
NoFantasy committed May 7, 2010
1 parent 84bb9a7 commit 7fbe6aa
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions src/game/SpellEffects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5691,6 +5691,36 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)

break;
}
case 47393: // The Focus on the Beach: Quest Completion Script
{
if (!unitTarget)
return;

if (unitTarget->HasAura(47391, EFFECT_INDEX_0))
unitTarget->RemoveAurasDueToSpell(47391);

return;
}
case 47615: // Atop the Woodlands: Quest Completion Script
{
if (!unitTarget)
return;

if (unitTarget->HasAura(47473, EFFECT_INDEX_0))
unitTarget->RemoveAurasDueToSpell(47473);

return;
}
case 47638: // The End of the Line: Quest Completion Script
{
if (!unitTarget)
return;

if (unitTarget->HasAura(47636, EFFECT_INDEX_0))
unitTarget->RemoveAurasDueToSpell(47636);

return;
}
case 48603: // High Executor's Branding Iron
// Torture the Torturer: High Executor's Branding Iron Impact
unitTarget->CastSpell(unitTarget, 48614, true);
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 "9847"
#define REVISION_NR "9848"
#endif // __REVISION_NR_H__

0 comments on commit 7fbe6aa

Please sign in to comment.