mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[9848] Add script effect of spell 47393, 47615 and 47638
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
e46cea7f7c
commit
2c6d48b912
2 changed files with 31 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9847"
|
||||
#define REVISION_NR "9848"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue