mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[12003] Implement script-effect for spells 47703, 47724 and 50252
Thanks to stfx for porting Signed-off-by: stfx <stfx@hotmail.de> Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
parent
9a41fe05cd
commit
55a96d18f2
2 changed files with 16 additions and 1 deletions
|
|
@ -7110,6 +7110,16 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
||||||
unitTarget->RemoveAurasDueToSpell(47636);
|
unitTarget->RemoveAurasDueToSpell(47636);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 47703: // Unholy Union
|
||||||
|
{
|
||||||
|
m_caster->CastSpell(m_caster, 50254, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
case 47724: // Frost Draw
|
||||||
|
{
|
||||||
|
m_caster->CastSpell(m_caster, 50239, true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 48603: // High Executor's Branding Iron
|
case 48603: // High Executor's Branding Iron
|
||||||
// Torture the Torturer: High Executor's Branding Iron Impact
|
// Torture the Torturer: High Executor's Branding Iron Impact
|
||||||
unitTarget->CastSpell(unitTarget, 48614, true);
|
unitTarget->CastSpell(unitTarget, 48614, true);
|
||||||
|
|
@ -7277,6 +7287,11 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 50252: // Blood Draw
|
||||||
|
{
|
||||||
|
m_caster->CastSpell(m_caster, 50250, true);
|
||||||
|
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 "12002"
|
#define REVISION_NR "12003"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue