mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +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;
|
// case 42596: break;
|
||||||
// // Headless Horseman Climax, Head: Periodic
|
// // Headless Horseman Climax, Head: Periodic
|
||||||
// case 42603: break;
|
// case 42603: break;
|
||||||
// // Fire Bomb
|
case 42621: // Fire Bomb
|
||||||
// case 42621: break;
|
{
|
||||||
|
// 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
|
// // Headless Horseman - Conflagrate, Periodic Aura
|
||||||
// case 42637: break;
|
// case 42637: break;
|
||||||
// // Headless Horseman - Create Pumpkin Treats Aura
|
// // Headless Horseman - Create Pumpkin Treats Aura
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "12203"
|
#define REVISION_NR "12204"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue