[12045] Implemented Skadi spell Poison Spear

Original patch by Azerus (?)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
mosst 2012-07-06 01:17:39 +02:00 committed by Schmoozerd
parent a3faf136bc
commit 213adc7ab0
2 changed files with 10 additions and 1 deletions

View file

@ -7548,6 +7548,15 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
m_caster->CastSpell(m_caster, 50250, true);
return;
}
case 50255: // Poisoned Spear
case 59331: // Poisoned Spear (heroic)
{
if (!unitTarget)
return;
unitTarget->CastSpell(unitTarget, m_spellInfo->CalculateSimpleValue(eff_idx), true, NULL, NULL, m_originalCasterGUID);
return;
}
case 50439: // Script Cast Summon Image of Drakuru 05
{
// TODO: check if summon already exist, if it does in this instance, return.

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12044"
#define REVISION_NR "12045"
#endif // __REVISION_NR_H__