[11407] Add dummy effect of spell 17950

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
Xfurry 2011-04-30 10:54:24 +02:00 committed by NoFantasy
parent c1ab3c4be4
commit 4bdc02509a
2 changed files with 12 additions and 1 deletions

View file

@ -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
{ {

View file

@ -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__