120 if (!ContainmentSphere)
220 if (keristrasza && keristrasza->
IsAlive())
243 if (!caster || !caster->
GetAI())
267 if (!_intenseColdList.empty())
268 for (GuidList::iterator itr = _intenseColdList.begin(); itr != _intenseColdList.end(); ++itr)
std::list< ObjectGuid > GuidList
#define RegisterSpellScript(spell_script)
@ SPELL_AURA_PERIODIC_DAMAGE
#define AuraEffectPeriodicFn(F, I, N)
@ DATA_CONTAINMENT_SPHERES
@ SPELL_INTENSE_COLD_TRIGGERED
@ SPELL_CRYSTALFIRE_BREATH
void AddSC_boss_keristrasza()
@ EVENT_CRYSTAL_FIRE_BREATH
@ EVENT_CRYSTAL_CHAINS_CRYSTALLIZE
HookList< EffectPeriodicHandler > OnEffectPeriodic
uint8 GetStackAmount() const
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void SetImmuneToAll(bool apply) override
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void SetGoState(GOState state)
GOState GetGoState() const
void SetFlag(GameObjectFlags flags)
virtual ObjectGuid GetGuidData(uint32 type) const override
static Creature * ToCreature(Object *o)
static ObjectGuid GetGUID(Object const *o)
void DoMeleeAttackIfReady()
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
virtual void SetGUID(ObjectGuid const &, int32=0)
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool HasUnitState(const uint32 f) const
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
bool OnCheck(Player *player, Unit *target) override
achievement_intense_cold()
void HandlePeriodicTick(AuraEffect const *aurEff)
PrepareAuraScript(spell_intense_cold)
TC_GAME_API GameObject * GetGameObject(WorldObject const &u, ObjectGuid const &guid)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
#define RegisterNexusGameObjectAI(ai_name)
@ ANOMALUS_CONTAINMENT_SPHERE
@ ORMOROKS_CONTAINMENT_SPHERE
@ TELESTRAS_CONTAINMENT_SPHERE
#define RegisterNexusCreatureAI(ai_name)
T const & DUNGEON_MODE(T const &normal5, T const &heroic10) const
void KilledUnit(Unit *who) override
void JustEngagedWith(Unit *who) override
void UpdateAI(uint32 diff) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
boss_keristrasza(Creature *creature)
void JustDied(Unit *) override
bool CheckContainmentSpheres(bool remove_prison=false)
void RemovePrison(bool remove)
GuidList _intenseColdList
void SetGUID(ObjectGuid const &guid, int32 id) override
ObjectGuid ContainmentSphereGUIDs[DATA_CONTAINMENT_SPHERES]
InstanceScript * instance
bool OnGossipHello(Player *) override
containment_sphere(GameObject *go)