[10295] Add dummy effect of spell 24930

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
dpedroia15 2010-07-30 19:27:50 +02:00 committed by NoFantasy
parent 767032029f
commit 181428e132
2 changed files with 16 additions and 1 deletions

View file

@ -1012,6 +1012,21 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
m_caster->CastSpell(m_caster, 23782, true);
m_caster->CastSpell(m_caster, 23783, true);
return;
case 24930: // Hallow's End Treat
{
uint32 spell_id = 0;
switch(urand(1,4))
{
case 1: spell_id = 24924; break; // Larger and Orange
case 2: spell_id = 24925; break; // Skeleton
case 3: spell_id = 24926; break; // Pirate
case 4: spell_id = 24927; break; // Ghost
}
m_caster->CastSpell(m_caster, spell_id, true);
return;
}
case 25860: // Reindeer Transformation
{
if (!m_caster->HasAuraType(SPELL_AURA_MOUNTED))

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10294"
#define REVISION_NR "10295"
#endif // __REVISION_NR_H__