[c12567] Implement spells 47958, 57082 and 57083

This commit is contained in:
Xfurry 2013-05-31 09:43:49 +01:00 committed by Antz
parent 7e98775d68
commit 758f7b9155
2 changed files with 24 additions and 1 deletions

View file

@ -7688,6 +7688,18 @@ void Spell::EffectScriptEffect(SpellEffectEntry const* effect)
m_caster->CastSpell(m_caster, 50239, true);
return;
}
case 47958: // Crystal Spikes
case 57083: // Crystal Spikes (h2)
{
if (!unitTarget)
return;
unitTarget->CastSpell(unitTarget, 47954, true);
unitTarget->CastSpell(unitTarget, 47955, true);
unitTarget->CastSpell(unitTarget, 47956, true);
unitTarget->CastSpell(unitTarget, 47957, true);
return;
}
case 48590: // Avenging Spirits
{
if (!unitTarget)
@ -8153,6 +8165,17 @@ void Spell::EffectScriptEffect(SpellEffectEntry const* effect)
unitTarget->RemoveAurasDueToSpell(effect->CalculateSimpleValue());
break;
}
case 57082: // Crystal Spikes (h1)
{
if (!unitTarget)
return;
unitTarget->CastSpell(unitTarget, 57077, true);
unitTarget->CastSpell(unitTarget, 57078, true);
unitTarget->CastSpell(unitTarget, 57080, true);
unitTarget->CastSpell(unitTarget, 57081, true);
return;
}
case 57337: // Great Feast
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12567"
#define REVISION_NR "12568"
#endif // __REVISION_NR_H__