mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9093] Implement periodic dummy aura for spell 48630 and 59275
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
4b0ceaeb6b
commit
65f4e7d278
2 changed files with 15 additions and 2 deletions
|
|
@ -7251,7 +7251,20 @@ void Aura::PeriodicDummyTick()
|
|||
// case 47489: break;
|
||||
// case 47941: break; // Crystal Spike
|
||||
// case 48200: break; // Healer Aura
|
||||
// case 48630: break; // Summon Gauntlet Mobs Periodic
|
||||
case 48630: // Summon Gauntlet Mobs Periodic
|
||||
case 59275: // Below may need some adjustment, pattern for amount of summon and where is not verified 100% (except for odd/even tick)
|
||||
{
|
||||
bool chance = roll_chance_i(50);
|
||||
|
||||
m_target->CastSpell(m_target, chance ? 48631 : 48632, true, NULL, this);
|
||||
|
||||
if (GetAuraTicks() % 2) // which doctor at odd tick
|
||||
m_target->CastSpell(m_target, chance ? 48636 : 48635, true, NULL, this);
|
||||
else // or harponeer, at even tick
|
||||
m_target->CastSpell(m_target, chance ? 48634 : 48633, true, NULL, this);
|
||||
|
||||
return;
|
||||
}
|
||||
// case 49313: break; // Proximity Mine Area Aura
|
||||
// // Mole Machine Portal Schedule
|
||||
// case 49466: break;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9092"
|
||||
#define REVISION_NR "9093"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue