mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[12045] Implemented Skadi spell Poison Spear
Original patch by Azerus (?) Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
a3faf136bc
commit
213adc7ab0
2 changed files with 10 additions and 1 deletions
|
|
@ -7548,6 +7548,15 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
||||||
m_caster->CastSpell(m_caster, 50250, true);
|
m_caster->CastSpell(m_caster, 50250, true);
|
||||||
return;
|
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
|
case 50439: // Script Cast Summon Image of Drakuru 05
|
||||||
{
|
{
|
||||||
// TODO: check if summon already exist, if it does in this instance, return.
|
// TODO: check if summon already exist, if it does in this instance, return.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12044"
|
#define REVISION_NR "12045"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue