[12204] Implement spell 42621

This commit is contained in:
Xfurry 2012-09-08 23:13:47 +02:00 committed by Antz
parent d2679caf85
commit 69c5529477
2 changed files with 15 additions and 3 deletions

View file

@ -7955,8 +7955,20 @@ void Aura::PeriodicDummyTick()
// case 42596: break;
// // Headless Horseman Climax, Head: Periodic
// case 42603: break;
// // Fire Bomb
// case 42621: break;
case 42621: // Fire Bomb
{
// Cast the summon spells (42622 to 42627) with increasing chance
uint32 rand = urand(0, 99);
for (uint32 i = 1; i <= 6; ++i)
{
if (rand < i * (i+1) /2 * 5)
{
target->CastSpell(target, spell->Id + i, true);
break;
}
}
break;
}
// // Headless Horseman - Conflagrate, Periodic Aura
// case 42637: break;
// // Headless Horseman - Create Pumpkin Treats Aura

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12203"
#define REVISION_NR "12204"
#endif // __REVISION_NR_H__