80 std::list<Creature*> crystals;
84 creature->Respawn(
true);
127 std::list<Creature*> crystals;
154 if (CrystalChosen && CrystalChosen->
IsAlive())
208 if (CrystalChosen && CrystalChosen->
IsAlive())
251 return GetMagistersTerraceAI<boss_selin_fireheartAI>(creature);
277 return GetMagistersTerraceAI<npc_fel_crystalAI>(creature);
std::chrono::milliseconds Milliseconds
Milliseconds shorthand typedef.
Milliseconds randtime(Milliseconds min, Milliseconds max)
void AddSC_boss_selin_fireheart()
@ SPELL_FEL_CRYSTAL_DUMMY
void JustEngagedWith(Unit *who) override
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
bool IsInPhase(uint8 phase) const
void SetPhase(uint8 phase)
void MoveChase(Unit *target, Optional< ChaseRange > dist={}, Optional< ChaseAngle > angle={})
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< float > closeEnoughDistance={})
virtual void DoAction(int32)
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
MotionMaster * GetMotionMaster()
float GetCombatReach() const override
void SetUninteractible(bool apply)
bool SetWalk(bool enable)
bool HasUnitState(const uint32 f) const
float GetPowerPct(Powers power) const
void KillSelf(bool durabilityLoss=true, bool skipSettingDeathState=false)
InstanceScript * GetInstanceScript() const
void GetCreatureListWithEntryInGrid(Container &creatureContainer, uint32 entry, float maxSearchRange=250.0f) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
CreatureAI * GetAI(Creature *creature) const override
CreatureAI * GetAI(Creature *creature) const override
TC_GAME_API Unit * GetUnit(WorldObject const &, ObjectGuid const &guid)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
void AttackStart(Unit *) override
== Triggered Actions Requested ==================
void DoAction(int32 action) override
void KilledUnit(Unit *victim) override
void UpdateAI(uint32 diff) override
void ShatterRemainingCrystals()
void SelectNearestCrystal()
boss_selin_fireheartAI(Creature *creature)
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
void MovementInform(uint32 type, uint32 id) override
void JustDied(Unit *) override
npc_fel_crystalAI(Creature *creature)