mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[9804] Add script effect of spell 52941
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
a69018efec
commit
05d8b00ad4
2 changed files with 17 additions and 1 deletions
|
|
@ -5630,6 +5630,22 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
|||
unitTarget->CastSpell(unitTarget, damage, false);
|
||||
break;
|
||||
}
|
||||
case 52941: // Song of Cleansing
|
||||
{
|
||||
uint32 spellId = 0;
|
||||
|
||||
switch(m_caster->GetAreaId())
|
||||
{
|
||||
case 4385: spellId = 52954; break; // Bittertide Lake
|
||||
case 4290: spellId = 52958; break; // River's Heart
|
||||
case 4388: spellId = 52959; break; // Wintergrasp River
|
||||
}
|
||||
|
||||
if (spellId)
|
||||
m_caster->CastSpell(m_caster, spellId, true);
|
||||
|
||||
break;
|
||||
}
|
||||
case 54729: // Winged Steed of the Ebon Blade
|
||||
{
|
||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9803"
|
||||
#define REVISION_NR "9804"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue