mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9860] Add script effect of spell 54182
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
8c81f0d058
commit
a0d9ffcc5f
2 changed files with 12 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -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__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue