126 auto tileIt = mapGOs.equal_range(spawnId++);
127 for (
auto it = tileIt.first; it != tileIt.second; ++it)
128 _eruptTiles[section].push_back(it->second->GetGUID());
184 tile->SendCustomAnim(0);
187 tile->CastSpell(tile, tile->GetGOInfo()->trap.spell, args);
std::chrono::seconds Seconds
Seconds shorthand typedef.
std::chrono::minutes Minutes
Minutes shorthand typedef.
Milliseconds randtime(Milliseconds min, Milliseconds max)
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCHOOL_DAMAGE
#define SpellEffectFn(F, I, N)
static const uint8 numEruptions[numSections]
static const uint32 firstEruptionDBGUID
static const uint8 numSections
void JustEngagedWith(Unit *who) override
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void SetReactState(ReactStates st)
void Repeat(Milliseconds time)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
bool IsInPhase(uint8 phase) const
void SetPhase(uint8 phase)
void RescheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
GameObjectBySpawnIdContainer & GetGameObjectBySpawnIdStore()
static Creature * ToCreature(Object *o)
static ObjectGuid GetGUID(Object const *o)
int32 GetHitDamage() const
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
void CastStop(uint32 except_spellid=0)
InstanceScript * GetInstanceScript() const
achievement_safety_dance()
bool OnCheck(Player *, Unit *target) override
void HandleScript(SpellEffIndex)
TC_GAME_API GameObject * GetGameObject(WorldObject const &u, ObjectGuid const &guid)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
#define RegisterNaxxramasCreatureAI(ai_name)
void UpdateAI(uint32 diff) override
boss_heigan(Creature *creature)
void KilledUnit(Unit *who) override
void JustEngagedWith(Unit *who) override
uint32 GetData(uint32 type) const override
std::vector< ObjectGuid > _eruptTiles[numSections]
void JustDied(Unit *) override