mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 04:37:06 +00:00
[12204] Implement spell 42621
This commit is contained in:
parent
d2679caf85
commit
69c5529477
2 changed files with 15 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "12203"
|
||||
#define REVISION_NR "12204"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue