[9848] Add script effect of spell 47393, 47615 and 47638

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-05-07 16:51:19 +02:00
parent e46cea7f7c
commit 2c6d48b912
2 changed files with 31 additions and 1 deletions

View file

@ -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);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "9847"
#define REVISION_NR "9848"
#endif // __REVISION_NR_H__