127 auto tileIt = mapGOs.equal_range(spawnId++);
128 for (
auto it = tileIt.first; it != tileIt.second; ++it)
129 _eruptTiles[section].push_back(it->second->GetGUID());
185 tile->SendCustomAnim(0);
188 tile->CastSpell(tile, tile->GetGOInfo()->trap.spellId, 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 DoZoneInCombat(Creature *creature=nullptr)
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()
static Creature * ToCreature(Object *o)
static ObjectGuid GetGUID(Object const *o)
int32 GetHitDamage() const
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
void DoMeleeAttackIfReady()
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
PrepareSpellScript(spell_heigan_eruption)
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