119 if (!ContainmentSphere)
217 if (keristrasza && keristrasza->
IsAlive())
238 if (!caster || !caster->
GetAI())
262 if (!_intenseColdList.empty())
263 for (GuidList::const_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 Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void SetImmuneToAll(bool apply) override
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void SetGoState(GOState state)
GOState GetGoState() const
void SetFlag(GameObjectFlags flags)
virtual ObjectGuid GetGuidData(uint32 type) const override
static ObjectGuid GetGUID(Object const *o)
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 HasUnitState(const uint32 f) const
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool OnCheck(Player *player, Unit *target) override
achievement_intense_cold()
void HandlePeriodicTick(AuraEffect const *)
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)