TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boss_magus_telestra::boss_magus_telestraAI Struct Reference

Public Member Functions

 boss_magus_telestraAI (Creature *creature)
 
void Initialize ()
 
void Reset () override
 
void EnterCombat (Unit *) override
 
void JustDied (Unit *) override
 
void KilledUnit (Unit *who) override
 
void DoAction (int32 action) override
 
uint32 GetData (uint32 type) const override
 
ObjectGuid SplitPersonality (uint32 entry)
 
void SummonedCreatureDespawn (Creature *summon) override
 
void UpdateAI (uint32 diff) override
 
- Public Member Functions inherited from ScriptedAI
 ScriptedAI (Creature *creature)
 
virtual ~ScriptedAI ()
 
void AttackStartNoMove (Unit *target)
 
void DamageTaken (Unit *, uint32 &) override
 
void JustSummoned (Creature *) override
 
void SpellHit (Unit *, SpellInfo const *) override
 
void SpellHitTarget (Unit *, SpellInfo const *) override
 
void OnPossess (bool)
 
void AttackStart (Unit *) override
 
void DoStartMovement (Unit *target, float distance=0.0f, float angle=0.0f)
 
void DoStartNoMovement (Unit *target)
 
void DoStopAttack ()
 
void DoCastSpell (Unit *target, SpellInfo const *spellInfo, bool triggered=false)
 
void DoPlaySoundToSet (WorldObject *source, uint32 soundId)
 
void DoResetThreat ()
 
float DoGetThreat (Unit *unit)
 
void DoModifyThreatPercent (Unit *unit, int32 pct)
 
void DoTeleportTo (float x, float y, float z, uint32 time=0)
 
void DoTeleportTo (float const pos[4])
 
void DoTeleportPlayer (Unit *unit, float x, float y, float z, float o)
 
void DoTeleportAll (float x, float y, float z, float o)
 
UnitDoSelectLowestHpFriendly (float range, uint32 minHPDiff=1)
 
std::list< Creature * > DoFindFriendlyCC (float range)
 
std::list< Creature * > DoFindFriendlyMissingBuff (float range, uint32 spellId)
 
PlayerGetPlayerAtMinimumRange (float minRange)
 
CreatureDoSpawnCreature (uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, uint32 type, uint32 despawntime)
 
bool HealthBelowPct (uint32 pct) const
 
bool HealthAbovePct (uint32 pct) const
 
SpellInfo constSelectSpell (Unit *target, uint32 school, uint32 mechanic, SelectTargetType targets, float rangeMin, float rangeMax, SelectEffect effect)
 
void SetEquipmentSlots (bool loadDefault, int32 mainHand=EQUIP_NO_CHANGE, int32 offHand=EQUIP_NO_CHANGE, int32 ranged=EQUIP_NO_CHANGE)
 
void SetCombatMovement (bool allowMovement)
 
bool IsCombatMovementAllowed () const
 
bool IsHeroic () const
 
Difficulty GetDifficulty () const
 
bool Is25ManRaid () const
 
template<class T >
const T & DUNGEON_MODE (const T &normal5, const T &heroic10) const
 
template<class T >
const T & RAID_MODE (const T &normal10, const T &normal25) const
 
template<class T >
const T & RAID_MODE (const T &normal10, const T &normal25, const T &heroic10, const T &heroic25) const
 
- Public Member Functions inherited from CreatureAI
void Talk (uint8 id, WorldObject const *whisperTarget=nullptr)
 
 CreatureAI (Creature *creature)
 
virtual ~CreatureAI ()
 
void MoveInLineOfSight_Safe (Unit *who)
 == Reactions At ================================= More...
 
void TriggerAlert (Unit const *who) const
 
virtual bool CanRespawn ()
 
virtual void EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER)
 
virtual void IsSummonedBy (Unit *)
 
virtual void SummonedCreatureDies (Creature *, Unit *)
 
virtual void AttackedBy (Unit *)
 
virtual bool IsEscorted () const
 
virtual void JustRespawned ()
 
virtual void MovementInform (uint32, uint32)
 
void OnCharmed (bool apply) override
 
virtual void JustReachedHome ()
 
void DoZoneInCombat (Creature *creature=NULL, float maxRangeToNearestTarget=50.0f)
 
virtual void ReceiveEmote (Player *, uint32)
 
virtual void OwnerAttackedBy (Unit *)
 
virtual void OwnerAttacked (Unit *)
 
virtual void CorpseRemoved (uint32 &)
 == Triggered Actions Requested ================== More...
 
virtual void PassengerBoarded (Unit *, int8, bool)
 == Fields ======================================= More...
 
virtual void OnSpellClick (Unit *, bool &)
 
virtual bool CanSeeAlways (WorldObject const *)
 
int32 VisualizeBoundary (uint32 duration, Unit *owner=nullptr, bool fill=false) const
 
virtual bool CheckInRoom ()
 
CreatureBoundary constGetBoundary () const
 
- Public Member Functions inherited from UnitAI
 UnitAI (Unit *unit)
 
virtual ~UnitAI ()
 
virtual bool CanAIAttack (Unit const *) const
 
virtual void InitializeAI ()
 
virtual void SetData (uint32, uint32)
 
virtual void SetGUID (ObjectGuid, int32=0)
 
virtual ObjectGuid GetGUID (int32=0) const
 
UnitSelectTarget (SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
 
template<class PREDICATE >
UnitSelectTarget (SelectAggroTarget targetType, uint32 position, PREDICATE const &predicate)
 
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectAggroTarget targetType, float dist=0.0f, bool playerOnly=false, int32 aura=0)
 
template<class PREDICATE >
void SelectTargetList (std::list< Unit * > &targetList, PREDICATE const &predicate, uint32 maxTargets, SelectAggroTarget targetType)
 
virtual void DamageDealt (Unit *, uint32 &, DamageEffectType)
 
virtual void HealReceived (Unit *, uint32 &)
 
virtual void HealDone (Unit *, uint32 &)
 
virtual void SpellInterrupted (uint32, uint32)
 
void AttackStartCaster (Unit *victim, float dist)
 
void DoCast (uint32 spellId)
 
void DoCast (Unit *victim, uint32 spellId, bool triggered=false)
 
void DoCastVictim (uint32 spellId, bool triggered=false)
 
void DoCastAOE (uint32 spellId, bool triggered=false)
 
void DoMeleeAttackIfReady ()
 
bool DoSpellAttackIfReady (uint32 spellId)
 
virtual void sGossipHello (Player *)
 
virtual void sGossipSelect (Player *, uint32, uint32)
 
virtual void sGossipSelectCode (Player *, uint32, uint32, char const *)
 
virtual void sQuestAccept (Player *, Quest const *)
 
virtual void sQuestSelect (Player *, Quest const *)
 
virtual void sQuestReward (Player *, Quest const *, uint32)
 
virtual bool sOnDummyEffect (Unit *, uint32, SpellEffIndex)
 
virtual void sOnGameEvent (bool, uint16)
 

Public Attributes

InstanceScriptinstance
 
ObjectGuid uiFireMagusGUID
 
ObjectGuid uiFrostMagusGUID
 
ObjectGuid uiArcaneMagusGUID
 
bool bFireMagusDead
 
bool bFrostMagusDead
 
bool bArcaneMagusDead
 
bool bIsWaitingToAppear
 
uint32 uiIsWaitingToAppearTimer
 
uint32 uiIceNovaTimer
 
uint32 uiFireBombTimer
 
uint32 uiGravityWellTimer
 
uint32 uiCooldown
 
uint8 Phase
 
uint8 splitPersonality
 
time_t time [3]
 
- Public Attributes inherited from ScriptedAI
bool IsFleeing
 

Additional Inherited Members

- Public Types inherited from CreatureAI
enum  EvadeReason { EVADE_REASON_NO_HOSTILES, EVADE_REASON_BOUNDARY, EVADE_REASON_SEQUENCE_BREAK, EVADE_REASON_OTHER }
 
- Static Public Member Functions inherited from UnitAI
static void FillAISpellInfo ()
 
- Static Public Attributes inherited from UnitAI
static AISpellInfoTypeAISpellInfo
 
- Protected Member Functions inherited from CreatureAI
bool UpdateVictim ()
 
bool UpdateVictimWithGaze ()
 
void SetGazeOn (Unit *target)
 
CreatureDoSummon (uint32 entry, Position const &pos, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
CreatureDoSummon (uint32 entry, WorldObject *obj, float radius=5.0f, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
CreatureDoSummonFlyer (uint32 entry, WorldObject *obj, float flightZ, float radius=5.0f, uint32 despawnTime=30000, TempSummonType summonType=TEMPSUMMON_CORPSE_TIMED_DESPAWN)
 
bool CheckBoundary (Position const *who=nullptr) const
 
void SetBoundary (CreatureBoundary const *boundary)
 
virtual void MoveInLineOfSight (Unit *)
 
bool _EnterEvadeMode (EvadeReason why=EVADE_REASON_OTHER)
 
- Protected Attributes inherited from CreatureAI
Creature *const me
 
CreatureBoundary const_boundary
 
- Protected Attributes inherited from UnitAI
Unit *const me
 

Constructor & Destructor Documentation

boss_magus_telestra::boss_magus_telestraAI::boss_magus_telestraAI ( Creature creature)
inline
78  : ScriptedAI(creature)
79  {
80  Initialize();
81  instance = creature->GetInstanceScript();
82  bFireMagusDead = false;
83  bFrostMagusDead = false;
84  bArcaneMagusDead = false;
86  }
ScriptedAI(Creature *creature)
Definition: ScriptedCreature.cpp:100
InstanceScript * instance
Definition: boss_magus_telestra.cpp:108
InstanceScript * GetInstanceScript()
Definition: Object.cpp:1540
bool bFireMagusDead
Definition: boss_magus_telestra.cpp:114
uint32 uiIsWaitingToAppearTimer
Definition: boss_magus_telestra.cpp:119
void Initialize()
Definition: boss_magus_telestra.cpp:88
bool bArcaneMagusDead
Definition: boss_magus_telestra.cpp:116
bool bFrostMagusDead
Definition: boss_magus_telestra.cpp:115

+ Here is the call graph for this function:

Member Function Documentation

void boss_magus_telestra::boss_magus_telestraAI::DoAction ( int32  action)
inlineoverridevirtual

Reimplemented from UnitAI.

163  {
164  if (action == ACTION_MAGUS_DEAD)
165  {
166  uint8 i = 0;
167  while (time[i] != 0)
168  ++i;
169 
170  time[i] = sWorld->GetGameTime();
171  if (i == 2 && (time[2] - time[1] < 5) && (time[1] - time[0] < 5))
173  }
174  }
#define sWorld
Definition: World.h:887
Definition: boss_magus_telestra.cpp:58
uint8_t uint8
Definition: Define.h:152
uint8 splitPersonality
Definition: boss_magus_telestra.cpp:126
time_t time[3]
Definition: boss_magus_telestra.cpp:127

+ Here is the caller graph for this function:

void boss_magus_telestra::boss_magus_telestraAI::EnterCombat ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

143  {
144  Talk(SAY_AGGRO);
145 
147  }
InstanceScript * instance
Definition: boss_magus_telestra.cpp:108
Definition: boss_magus_telestra.cpp:49
Definition: InstanceScript.h:59
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:273
Definition: nexus.h:29

+ Here is the call graph for this function:

uint32 boss_magus_telestra::boss_magus_telestraAI::GetData ( uint32  type) const
inlineoverridevirtual

Reimplemented from UnitAI.

177  {
178  if (type == DATA_SPLIT_PERSONALITY)
179  return splitPersonality;
180 
181  return 0;
182  }
Definition: boss_magus_telestra.cpp:59
uint8 splitPersonality
Definition: boss_magus_telestra.cpp:126
void boss_magus_telestra::boss_magus_telestraAI::Initialize ( void  )
inline
89  {
90  Phase = 0;
91  //These times are probably wrong
93  uiFireBombTimer = 0;
95  uiCooldown = 0;
96 
100 
101  for (uint8 n = 0; n < 3; ++n)
102  time[n] = 0;
103 
104  splitPersonality = 0;
105  bIsWaitingToAppear = false;
106  }
uint32 uiGravityWellTimer
Definition: boss_magus_telestra.cpp:122
ObjectGuid uiFrostMagusGUID
Definition: boss_magus_telestra.cpp:111
uint32 uiFireBombTimer
Definition: boss_magus_telestra.cpp:121
uint32 uiIceNovaTimer
Definition: boss_magus_telestra.cpp:120
ObjectGuid uiFireMagusGUID
Definition: boss_magus_telestra.cpp:110
void Clear()
Definition: ObjectGuid.h:215
bool bIsWaitingToAppear
Definition: boss_magus_telestra.cpp:117
uint32 uiCooldown
Definition: boss_magus_telestra.cpp:123
Definition: Common.h:103
uint8_t uint8
Definition: Define.h:152
uint8 splitPersonality
Definition: boss_magus_telestra.cpp:126
Phase
Definition: boss_kiljaeden.cpp:153
time_t time[3]
Definition: boss_magus_telestra.cpp:127
ObjectGuid uiArcaneMagusGUID
Definition: boss_magus_telestra.cpp:112

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void boss_magus_telestra::boss_magus_telestraAI::JustDied ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

150  {
151  Talk(SAY_DEATH);
152 
154  }
InstanceScript * instance
Definition: boss_magus_telestra.cpp:108
Definition: inflate.h:49
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:273
Definition: boss_magus_telestra.cpp:51
Definition: nexus.h:29

+ Here is the call graph for this function:

void boss_magus_telestra::boss_magus_telestraAI::KilledUnit ( Unit who)
inlineoverridevirtual

Reimplemented from ScriptedAI.

157  {
158  if (who->GetTypeId() == TYPEID_PLAYER)
159  Talk(SAY_KILL);
160  }
TypeID GetTypeId() const
Definition: Object.h:113
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
Definition: boss_magus_telestra.cpp:50
Definition: ObjectGuid.h:33

+ Here is the call graph for this function:

void boss_magus_telestra::boss_magus_telestraAI::Reset ( )
inlineoverridevirtual

Reimplemented from ScriptedAI.

130  {
131  Initialize();
132 
134  me->SetVisible(true);
135 
137 
140  }
Definition: boss_magus_telestra.cpp:61
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
Definition: Unit.cpp:4240
InstanceScript * instance
Definition: boss_magus_telestra.cpp:108
Aura * AddAura(uint32 spellId, Unit *target)
Definition: Unit.cpp:14463
Definition: boss_magus_telestra.cpp:37
bool IsHeroic() const
Definition: ScriptedCreature.h:268
Creature *const me
Definition: CreatureAI.h:71
Definition: InstanceScript.h:58
void SetVisible(bool x)
Definition: Unit.cpp:10368
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:273
void Initialize()
Definition: boss_magus_telestra.cpp:88
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition: Object.cpp:1214
#define sGameEventMgr
Definition: GameEventMgr.h:184
Definition: UpdateFields.h:109
Definition: Unit.h:698
Definition: nexus.h:29

+ Here is the call graph for this function:

ObjectGuid boss_magus_telestra::boss_magus_telestraAI::SplitPersonality ( uint32  entry)
inline
185  {
187  {
188  switch (entry)
189  {
190  case NPC_FIRE_MAGUS:
191  {
192  Summoned->CastSpell(Summoned, SPELL_FIRE_MAGUS_VISUAL, false);
193  break;
194  }
195  case NPC_FROST_MAGUS:
196  {
197  Summoned->CastSpell(Summoned, SPELL_FROST_MAGUS_VISUAL, false);
198  break;
199  }
200  case NPC_ARCANE_MAGUS:
201  {
202  Summoned->CastSpell(Summoned, SPELL_ARCANE_MAGUS_VISUAL, false);
203  break;
204  }
205  }
206  if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
207  Summoned->AI()->AttackStart(target);
208  return Summoned->GetGUID();
209  }
210  return ObjectGuid::Empty;
211  }
static ObjectGuid const Empty
Definition: ObjectGuid.h:196
Definition: boss_magus_telestra.cpp:44
Definition: Creature.h:467
Creature *const me
Definition: CreatureAI.h:71
float GetOrientation() const
Definition: Position.h:107
Definition: UnitAI.h:35
Definition: boss_magus_telestra.cpp:43
float GetPositionY() const
Definition: Position.h:105
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
Definition: UnitAI.cpp:91
float GetPositionZ() const
Definition: Position.h:106
Definition: boss_magus_telestra.cpp:35
Definition: boss_magus_telestra.cpp:33
Definition: boss_magus_telestra.cpp:34
Definition: Common.h:103
Definition: boss_magus_telestra.cpp:42
float GetPositionX() const
Definition: Position.h:104
Definition: Unit.h:1305
TempSummon * SummonCreature(uint32 id, Position const &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const
Definition: Object.cpp:2346

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void boss_magus_telestra::boss_magus_telestraAI::SummonedCreatureDespawn ( Creature summon)
inlineoverridevirtual

Reimplemented from ScriptedAI.

214  {
215  if (summon->IsAlive())
216  return;
217 
218  if (summon->GetGUID() == uiFireMagusGUID)
219  {
221  bFireMagusDead = true;
222  }
223  else if (summon->GetGUID() == uiFrostMagusGUID)
224  {
226  bFrostMagusDead = true;
227  }
228  else if (summon->GetGUID() == uiArcaneMagusGUID)
229  {
231  bArcaneMagusDead = true;
232  }
233  }
ObjectGuid uiFrostMagusGUID
Definition: boss_magus_telestra.cpp:111
void DoAction(int32 action) override
Definition: boss_magus_telestra.cpp:162
bool bFireMagusDead
Definition: boss_magus_telestra.cpp:114
ObjectGuid uiFireMagusGUID
Definition: boss_magus_telestra.cpp:110
bool IsAlive() const
Definition: Unit.h:1692
Definition: boss_magus_telestra.cpp:58
ObjectGuid const & GetGUID() const
Definition: Object.h:105
bool bArcaneMagusDead
Definition: boss_magus_telestra.cpp:116
bool bFrostMagusDead
Definition: boss_magus_telestra.cpp:115
ObjectGuid uiArcaneMagusGUID
Definition: boss_magus_telestra.cpp:112

+ Here is the call graph for this function:

void boss_magus_telestra::boss_magus_telestraAI::UpdateAI ( uint32  diff)
inlineoverridevirtual

Reimplemented from ScriptedAI.

236  {
237  //Return since we have no target
238  if (!UpdateVictim())
239  return;
240 
241  if (bIsWaitingToAppear)
242  {
243  me->StopMoving();
244  me->AttackStop();
245  if (uiIsWaitingToAppearTimer <= diff)
246  {
248  bIsWaitingToAppear = false;
249  } else uiIsWaitingToAppearTimer -= diff;
250  return;
251  }
252 
253  if ((Phase == 1) ||(Phase == 3))
254  {
256  {
257  for (uint8 n = 0; n < 3; ++n)
258  time[n] = 0;
259  me->GetMotionMaster()->Clear();
262  me->SetVisible(true);
263  if (Phase == 1)
264  Phase = 2;
265  if (Phase == 3)
266  Phase = 4;
270  bIsWaitingToAppear = true;
272  Talk(SAY_MERGE);
273  }
274  else
275  return;
276  }
277 
278  if ((Phase == 0) && HealthBelowPct(50))
279  {
280  Phase = 1;
281  me->CastStop();
282  me->RemoveAllAuras();
283  me->SetVisible(false);
288  bFireMagusDead = false;
289  bFrostMagusDead = false;
290  bArcaneMagusDead = false;
291  Talk(SAY_SPLIT);
292  return;
293  }
294 
295  if (IsHeroic() && (Phase == 2) && HealthBelowPct(10))
296  {
297  Phase = 3;
298  me->CastStop();
299  me->RemoveAllAuras();
300  me->SetVisible(false);
305  bFireMagusDead = false;
306  bFrostMagusDead = false;
307  bArcaneMagusDead = false;
308  Talk(SAY_SPLIT);
309  return;
310  }
311 
312  if (uiCooldown)
313  {
314  if (uiCooldown <= diff)
315  uiCooldown = 0;
316  else
317  {
318  uiCooldown -= diff;
319  return;
320  }
321  }
322 
323  if (uiIceNovaTimer <= diff)
324  {
325  if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
326  {
327  DoCast(target, SPELL_ICE_NOVA, false);
328  uiCooldown = 1500;
329  }
331  } else uiIceNovaTimer -= diff;
332 
333  if (uiGravityWellTimer <= diff)
334  {
335  if (Unit* target = me->GetVictim())
336  {
337  DoCast(target, SPELL_GRAVITY_WELL);
339  }
341  } else uiGravityWellTimer -= diff;
342 
343  if (uiFireBombTimer <= diff)
344  {
345  if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
346  {
347  DoCast(target, SPELL_FIREBOMB, false);
349  }
351  } else uiFireBombTimer -=diff;
352 
354  }
bool AttackStop()
Definition: Unit.cpp:7337
void RemoveAllAuras()
Definition: Unit.cpp:3920
uint32 uiGravityWellTimer
Definition: boss_magus_telestra.cpp:122
bool UpdateVictim()
Definition: CreatureAI.cpp:233
Definition: boss_magus_telestra.cpp:44
void Clear(bool reset=true)
Definition: MotionMaster.h:138
ObjectGuid SplitPersonality(uint32 entry)
Definition: boss_magus_telestra.cpp:184
bool HealthBelowPct(uint32 pct) const
Definition: ScriptedCreature.h:247
Definition: boss_magus_telestra.cpp:53
ObjectGuid uiFrostMagusGUID
Definition: boss_magus_telestra.cpp:111
MotionMaster * GetMotionMaster()
Definition: Unit.h:2101
bool IsHeroic() const
Definition: ScriptedCreature.h:268
uint32 uiFireBombTimer
Definition: boss_magus_telestra.cpp:121
void CastStop(uint32 except_spellid=0)
Definition: Unit.cpp:862
void SetFlag(uint16 index, uint32 newFlag)
Definition: Object.cpp:1199
void SetPosition(float x, float y, float z, float o)
Definition: Creature.cpp:2537
uint32 uiIceNovaTimer
Definition: boss_magus_telestra.cpp:120
bool bFireMagusDead
Definition: boss_magus_telestra.cpp:114
Definition: boss_magus_telestra.cpp:26
Creature *const me
Definition: CreatureAI.h:71
ObjectGuid uiFireMagusGUID
Definition: boss_magus_telestra.cpp:110
float GetOrientation() const
Definition: Position.h:107
Definition: boss_magus_telestra.cpp:28
Definition: UnitAI.h:35
Definition: boss_magus_telestra.cpp:52
Unit * GetVictim() const
Definition: Unit.h:1379
Definition: boss_magus_telestra.cpp:43
float GetPositionY() const
Definition: Position.h:105
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
Definition: UnitAI.cpp:91
void SetVisible(bool x)
Definition: Unit.cpp:10368
float GetPositionZ() const
Definition: Position.h:106
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
uint32 uiIsWaitingToAppearTimer
Definition: boss_magus_telestra.cpp:119
Definition: boss_magus_telestra.cpp:31
const Position CenterOfRoom
Definition: boss_magus_telestra.cpp:64
void Clear()
Definition: ObjectGuid.h:215
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition: Object.cpp:1214
bool bIsWaitingToAppear
Definition: boss_magus_telestra.cpp:117
uint32 uiCooldown
Definition: boss_magus_telestra.cpp:123
Definition: UpdateFields.h:109
Definition: Common.h:103
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
uint8_t uint8
Definition: Define.h:152
Definition: boss_magus_telestra.cpp:42
bool bArcaneMagusDead
Definition: boss_magus_telestra.cpp:116
bool bFrostMagusDead
Definition: boss_magus_telestra.cpp:115
float GetPositionX() const
Definition: Position.h:104
Definition: Unit.h:1305
void StopMoving()
-------—End of Pet responses methods-------—
Definition: Unit.cpp:12743
Phase
Definition: boss_kiljaeden.cpp:153
Definition: Unit.h:698
time_t time[3]
Definition: boss_magus_telestra.cpp:127
ObjectGuid uiArcaneMagusGUID
Definition: boss_magus_telestra.cpp:112
Definition: boss_magus_telestra.cpp:30

+ Here is the call graph for this function:

Member Data Documentation

bool boss_magus_telestra::boss_magus_telestraAI::bArcaneMagusDead
bool boss_magus_telestra::boss_magus_telestraAI::bFireMagusDead
bool boss_magus_telestra::boss_magus_telestraAI::bFrostMagusDead
bool boss_magus_telestra::boss_magus_telestraAI::bIsWaitingToAppear
InstanceScript* boss_magus_telestra::boss_magus_telestraAI::instance
uint8 boss_magus_telestra::boss_magus_telestraAI::Phase
uint8 boss_magus_telestra::boss_magus_telestraAI::splitPersonality
time_t boss_magus_telestra::boss_magus_telestraAI::time[3]
ObjectGuid boss_magus_telestra::boss_magus_telestraAI::uiArcaneMagusGUID
uint32 boss_magus_telestra::boss_magus_telestraAI::uiCooldown
uint32 boss_magus_telestra::boss_magus_telestraAI::uiFireBombTimer
ObjectGuid boss_magus_telestra::boss_magus_telestraAI::uiFireMagusGUID
ObjectGuid boss_magus_telestra::boss_magus_telestraAI::uiFrostMagusGUID
uint32 boss_magus_telestra::boss_magus_telestraAI::uiGravityWellTimer
uint32 boss_magus_telestra::boss_magus_telestraAI::uiIceNovaTimer
uint32 boss_magus_telestra::boss_magus_telestraAI::uiIsWaitingToAppearTimer

The documentation for this struct was generated from the following file: