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
ObjectGuid const & GetGUID() const
void JustEngagedWith(Unit *who) override
void SetReactState(ReactStates st)
void Repeat(Milliseconds time)
bool IsInPhase(PhaseIndex phase) const
void RescheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void SetPhase(PhaseIndex phase)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
GameObjectBySpawnIdContainer & GetGameObjectBySpawnIdStore()
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)
void StopMoving(bool force=false)
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