mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[11407] Add dummy effect of spell 17950
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
c1ab3c4be4
commit
4bdc02509a
2 changed files with 12 additions and 1 deletions
|
|
@ -941,6 +941,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
||||||
m_caster->CastSpell(m_caster, spell_id, true, NULL);
|
m_caster->CastSpell(m_caster, spell_id, true, NULL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 17950: // Shadow Portal
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
// Shadow Portal
|
||||||
|
const uint32 spell_list[6] = {17863, 17939, 17943, 17944, 17946, 17948};
|
||||||
|
|
||||||
|
m_caster->CastSpell(unitTarget, spell_list[urand(0, 5)], true);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 19411: // Lava Bomb
|
case 19411: // Lava Bomb
|
||||||
case 20474: // Lava Bomb
|
case 20474: // Lava Bomb
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11406"
|
#define REVISION_NR "11407"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue