[12101] Implement spell 36677

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
cyberium 2012-08-18 03:41:40 +02:00 committed by Antz
parent 7b0233f154
commit afb090f57c
2 changed files with 15 additions and 1 deletions

View file

@ -1332,6 +1332,20 @@ void Spell::EffectDummy(SpellEffectEntry const* effect)
m_caster->CastSpell(m_caster, spell_id, true, NULL); m_caster->CastSpell(m_caster, spell_id, true, NULL);
return; return;
} }
case 36677: // Chaos Breath
{
if (!unitTarget)
return;
uint32 possibleSpells[] = {36693, 36694, 36695, 36696, 36697, 36698, 36699, 36700} ;
std::vector<uint32> spellPool(possibleSpells, possibleSpells + countof(possibleSpells));
std::random_shuffle(spellPool.begin(), spellPool.end());
for (uint8 i = 0; i < (m_caster->GetMap()->IsRegularDifficulty() ? 2 : 4); ++i)
m_caster->CastSpell(m_caster, spellPool[i], true);
return;
}
case 33923: // Sonic Boom case 33923: // Sonic Boom
case 38796: // Sonic Boom (heroic) case 38796: // Sonic Boom (heroic)
{ {

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 "0132" #define REVISION_NR "12101"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__