[9860] Add script effect of spell 54182

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-05-10 20:42:37 +02:00
parent 8c81f0d058
commit a0d9ffcc5f
2 changed files with 12 additions and 1 deletions

View file

@ -5779,6 +5779,17 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
break; break;
} }
case 54182: // An End to the Suffering: Quest Completion Script
{
if (!unitTarget)
return;
// Remove aura given at quest accept / gossip
if (unitTarget->HasAura(51967))
unitTarget->RemoveAurasDueToSpell(51967);
return;
}
case 54729: // Winged Steed of the Ebon Blade case 54729: // Winged Steed of the Ebon Blade
{ {
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER) if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9859" #define REVISION_NR "9860"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__