From 65f4e7d278cdc357970a41d2272535d1593f06b2 Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Fri, 1 Jan 2010 13:09:10 +0100 Subject: [PATCH] [9093] Implement periodic dummy aura for spell 48630 and 59275 Signed-off-by: NoFantasy --- src/game/SpellAuras.cpp | 15 ++++++++++++++- src/shared/revision_nr.h | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 089391df5..98554e835 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -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; diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 32c98ab09..b074a6476 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9092" + #define REVISION_NR "9093" #endif // __REVISION_NR_H__