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

Public Member Functions

 boss_anub_arakAI (Creature *creature)
 
void Initialize ()
 
void Reset () override
 
CreatureDoSummonImpaleTarget (Unit *target)
 
void EnterCombat (Unit *) override
 
void DelayEventStart ()
 
void UpdateAI (uint32 diff) override
 
void JustDied (Unit *) override
 
void KilledUnit (Unit *victim) override
 
void JustSummoned (Creature *summon) override
 
- Public Member Functions inherited from ScriptedAI
 ScriptedAI (Creature *creature)
 
virtual ~ScriptedAI ()
 
void AttackStartNoMove (Unit *target)
 
void DamageTaken (Unit *, uint32 &) override
 
void SummonedCreatureDespawn (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 DoAction (int32)
 
virtual uint32 GetData (uint32) const
 
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
 
bool Channeling
 
bool GuardianSummoned
 
bool VenomancerSummoned
 
bool DatterSummoned
 
uint8 Phase
 
uint32 UndergroundPhase
 
uint32 CarrionBeetlesTimer
 
uint32 LeechingSwarmTimer
 
uint32 PoundTimer
 
uint32 UndergroundTimer
 
uint32 VenomancerTimer
 
uint32 DatterTimer
 
uint32 DelayTimer
 
uint32 ImpaleTimer
 
uint32 ImpalePhase
 
ObjectGuid ImpaleTarget
 
SummonList Summons
 
- 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_anub_arak::boss_anub_arakAI::boss_anub_arakAI ( Creature creature)
inline
88  : ScriptedAI(creature), Summons(me)
89  {
90  Initialize();
91  instance = creature->GetInstanceScript();
92  GuardianSummoned = false;
93  VenomancerSummoned = false;
94  DatterSummoned = false;
95  UndergroundTimer = 0;
96  VenomancerTimer = 0;
97  DatterTimer = 0;
98  DelayTimer = 0;
99  }
ScriptedAI(Creature *creature)
Definition: ScriptedCreature.cpp:100
uint32 UndergroundTimer
Definition: boss_anubarak.cpp:126
InstanceScript * GetInstanceScript()
Definition: Object.cpp:1540
SummonList Summons
Definition: boss_anubarak.cpp:135
uint32 VenomancerTimer
Definition: boss_anubarak.cpp:127
bool GuardianSummoned
Definition: boss_anubarak.cpp:118
void Initialize()
Definition: boss_anubarak.cpp:101
bool DatterSummoned
Definition: boss_anubarak.cpp:120
bool VenomancerSummoned
Definition: boss_anubarak.cpp:119
Creature *const me
Definition: CreatureAI.h:71
InstanceScript * instance
Definition: boss_anubarak.cpp:115
uint32 DelayTimer
Definition: boss_anubarak.cpp:129
uint32 DatterTimer
Definition: boss_anubarak.cpp:128

+ Here is the call graph for this function:

Member Function Documentation

void boss_anub_arak::boss_anub_arakAI::DelayEventStart ( )
inline
174  {
176  }
Definition: azjol_nerub.h:31
Definition: InstanceScript.h:59
InstanceScript * instance
Definition: boss_anubarak.cpp:115
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:273

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Creature* boss_anub_arak::boss_anub_arakAI::DoSummonImpaleTarget ( Unit target)
inline
151  {
152  Position targetPos = target->GetPosition();
153 
155  {
156  ImpaleTarget = impaleTarget->GetGUID();
157  impaleTarget->SetReactState(REACT_PASSIVE);
158  impaleTarget->SetDisplayId(DISPLAY_INVISIBLE);
160  return impaleTarget;
161  }
162 
163  return NULL;
164  }
Definition: TemporarySummon.h:40
Definition: Unit.h:674
Definition: Unit.h:1129
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: Unit.h:675
Creature *const me
Definition: CreatureAI.h:71
void GetPosition(float &x, float &y) const
Definition: Position.h:109
Definition: Object.h:55
Definition: boss_anubarak.cpp:41
Definition: UpdateFields.h:109
Definition: Common.h:103
Definition: Position.h:27
Definition: boss_anubarak.cpp:40
Definition: Unit.h:698
ObjectGuid ImpaleTarget
Definition: boss_anubarak.cpp:133
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_anub_arak::boss_anub_arakAI::EnterCombat ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

167  {
168  Talk(SAY_AGGRO);
169  DelayTimer = 0;
171  }
Definition: DBCEnums.h:183
Definition: boss_anubarak.cpp:47
void DoStartTimedAchievement(AchievementCriteriaTimedTypes type, uint32 entry)
Definition: InstanceScript.cpp:518
InstanceScript * instance
Definition: boss_anubarak.cpp:115
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
uint32 DelayTimer
Definition: boss_anubarak.cpp:129
Definition: boss_anubarak.cpp:57

+ Here is the call graph for this function:

void boss_anub_arak::boss_anub_arakAI::Initialize ( void  )
inline
102  {
107 
108  Phase = PHASE_MELEE;
109  UndergroundPhase = 0;
110  Channeling = false;
113  }
Definition: boss_anubarak.cpp:62
uint32 CarrionBeetlesTimer
Definition: boss_anubarak.cpp:123
bool Channeling
Definition: boss_anubarak.cpp:117
Definition: boss_anubarak.cpp:64
uint32 UndergroundPhase
Definition: boss_anubarak.cpp:122
uint32 PoundTimer
Definition: boss_anubarak.cpp:125
uint32 ImpaleTimer
Definition: boss_anubarak.cpp:131
void Clear()
Definition: ObjectGuid.h:215
Definition: Common.h:103
uint32 ImpalePhase
Definition: boss_anubarak.cpp:132
uint32 LeechingSwarmTimer
Definition: boss_anubarak.cpp:124
Phase
Definition: boss_kiljaeden.cpp:153
ObjectGuid ImpaleTarget
Definition: boss_anubarak.cpp:133

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void boss_anub_arak::boss_anub_arakAI::JustDied ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

342  {
343  Talk(SAY_DEATH);
344  Summons.DespawnAll();
346  }
Definition: azjol_nerub.h:31
Definition: inflate.h:49
Definition: boss_anubarak.cpp:49
InstanceScript * instance
Definition: boss_anubarak.cpp:115
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_urom.cpp:72

+ Here is the call graph for this function:

void boss_anub_arak::boss_anub_arakAI::JustSummoned ( Creature summon)
inlineoverridevirtual

Reimplemented from ScriptedAI.

357  {
358  Summons.Summon(summon);
359  }
Definition: boss_urom.cpp:72

+ Here is the call graph for this function:

void boss_anub_arak::boss_anub_arakAI::KilledUnit ( Unit victim)
inlineoverridevirtual

Reimplemented from ScriptedAI.

349  {
350  if (victim->GetTypeId() != TYPEID_PLAYER)
351  return;
352 
353  Talk(SAY_SLAY);
354  }
TypeID GetTypeId() const
Definition: Object.h:113
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
Definition: boss_anubarak.cpp:48
Definition: ObjectGuid.h:33

+ Here is the call graph for this function:

void boss_anub_arak::boss_anub_arakAI::Reset ( )
inlineoverridevirtual

Reimplemented from ScriptedAI.

138  {
139  Initialize();
140 
143 
144  Summons.DespawnAll();
145 
148  }
Definition: Unit.h:674
Definition: boss_anubarak.cpp:28
void DoStopTimedAchievement(AchievementCriteriaTimedTypes type, uint32 entry)
Definition: InstanceScript.cpp:529
Definition: azjol_nerub.h:31
Definition: DBCEnums.h:183
void Initialize()
Definition: boss_anubarak.cpp:101
void RemoveAura(AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:3442
Creature *const me
Definition: CreatureAI.h:71
Definition: InstanceScript.h:58
InstanceScript * instance
Definition: boss_anubarak.cpp:115
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:273
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition: Object.cpp:1214
Definition: UpdateFields.h:109
Definition: boss_anubarak.cpp:57
Definition: Unit.h:698
Definition: boss_urom.cpp:72

+ Here is the call graph for this function:

void boss_anub_arak::boss_anub_arakAI::UpdateAI ( uint32  diff)
inlineoverridevirtual

Reimplemented from ScriptedAI.

179  {
180  if (!UpdateVictim())
181  return;
182 
183  if (DelayTimer && DelayTimer > 5000)
184  DelayEventStart();
185  else DelayTimer+=diff;
186 
187  switch (Phase)
188  {
189  case PHASE_UNDERGROUND:
190  if (ImpaleTimer <= diff)
191  {
192  switch (ImpalePhase)
193  {
194  case IMPALE_PHASE_TARGET:
195  if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100, true))
196  {
197  if (Creature* impaleTarget = DoSummonImpaleTarget(target))
198  impaleTarget->CastSpell(impaleTarget, SPELL_IMPALE_SHAKEGROUND, true);
201  }
202  break;
203  case IMPALE_PHASE_ATTACK:
204  if (Creature* impaleTarget = ObjectAccessor::GetCreature(*me, ImpaleTarget))
205  {
206  impaleTarget->CastSpell(impaleTarget, SPELL_IMPALE_SPIKE, false);
207  impaleTarget->RemoveAurasDueToSpell(SPELL_IMPALE_SHAKEGROUND);
208  }
211  break;
212  case IMPALE_PHASE_DMG:
213  if (Creature* impaleTarget = ObjectAccessor::GetCreature(*me, ImpaleTarget))
214  me->CastSpell(impaleTarget, SPELL_IMPALE_DMG, true);
217  break;
218  }
219  } else ImpaleTimer -= diff;
220 
221  if (!GuardianSummoned)
222  {
223  for (uint8 i = 0; i < 2; ++i)
224  {
226  {
227  Guardian->AddThreat(me->GetVictim(), 0.0f);
229  }
230  }
231  GuardianSummoned = true;
232  }
233 
234  if (!VenomancerSummoned)
235  {
236  if (VenomancerTimer <= diff)
237  {
238  if (UndergroundPhase > 1)
239  {
240  for (uint8 i = 0; i < 2; ++i)
241  {
243  {
244  Venomancer->AddThreat(me->GetVictim(), 0.0f);
245  DoZoneInCombat(Venomancer);
246  }
247  }
248  VenomancerSummoned = true;
249  }
250  } else VenomancerTimer -= diff;
251  }
252 
253  if (!DatterSummoned)
254  {
255  if (DatterTimer <= diff)
256  {
257  if (UndergroundPhase > 2)
258  {
259  for (uint8 i = 0; i < 2; ++i)
260  {
262  {
263  Datter->AddThreat(me->GetVictim(), 0.0f);
264  DoZoneInCombat(Datter);
265  }
266  }
267  DatterSummoned = true;
268  }
269  } else DatterTimer -= diff;
270 
273  }
274 
275  if (UndergroundTimer <= diff)
276  {
279  Phase = PHASE_MELEE;
280  } else UndergroundTimer -= diff;
281  break;
282 
283  case PHASE_MELEE:
284  if (((UndergroundPhase == 0 && HealthBelowPct(75))
285  || (UndergroundPhase == 1 && HealthBelowPct(50))
286  || (UndergroundPhase == 2 && HealthBelowPct(25)))
288  {
289  GuardianSummoned = false;
290  VenomancerSummoned = false;
291  DatterSummoned = false;
292 
296 
297  ImpalePhase = 0;
299 
300  DoCast(me, SPELL_SUBMERGE, false);
302 
305  }
306 
307  if (Channeling == true)
308  {
309  for (uint8 i = 0; i < 8; ++i)
311  Channeling = false;
312  }
313  else if (CarrionBeetlesTimer <= diff)
314  {
315  Channeling = true;
318  } else CarrionBeetlesTimer -= diff;
319 
320  if (LeechingSwarmTimer <= diff)
321  {
324  } else LeechingSwarmTimer -= diff;
325 
326  if (PoundTimer <= diff)
327  {
328  if (Unit* target = me->GetVictim())
329  {
330  if (Creature* pImpaleTarget = DoSummonImpaleTarget(target))
331  me->CastSpell(pImpaleTarget, SPELL_POUND, false);
332  }
333  PoundTimer = 16500;
334  } else PoundTimer -= diff;
335 
337  break;
338  }
339  }
Definition: TemporarySummon.h:83
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
Definition: Unit.cpp:4240
Definition: boss_anubarak.cpp:26
void AddThreat(Unit *victim, float fThreat, SpellSchoolMask schoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *threatSpell=NULL)
Definition: Unit.cpp:10691
Definition: boss_anubarak.cpp:62
Definition: Unit.h:674
bool UpdateVictim()
Definition: CreatureAI.cpp:233
uint32 UndergroundTimer
Definition: boss_anubarak.cpp:126
Definition: Unit.h:565
Definition: boss_anubarak.cpp:27
Definition: boss_anubarak.cpp:65
bool HealthBelowPct(uint32 pct) const
Definition: ScriptedCreature.h:247
Definition: boss_anubarak.cpp:25
uint32 CarrionBeetlesTimer
Definition: boss_anubarak.cpp:123
Definition: boss_anubarak.cpp:28
void DoZoneInCombat(Creature *creature=NULL, float maxRangeToNearestTarget=50.0f)
Definition: CreatureAI.cpp:47
uint32 VenomancerTimer
Definition: boss_anubarak.cpp:127
bool GuardianSummoned
Definition: boss_anubarak.cpp:118
Definition: boss_anubarak.cpp:39
bool Channeling
Definition: boss_anubarak.cpp:117
void DelayEventStart()
Definition: boss_anubarak.cpp:173
Definition: boss_anubarak.cpp:30
Definition: Object.h:58
Definition: Creature.h:467
Definition: boss_anubarak.cpp:29
void RemoveAura(AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:3442
Definition: boss_anubarak.cpp:31
void SetFlag(uint16 index, uint32 newFlag)
Definition: Object.cpp:1199
Definition: boss_anubarak.cpp:64
bool DatterSummoned
Definition: boss_anubarak.cpp:120
bool VenomancerSummoned
Definition: boss_anubarak.cpp:119
uint32 UndergroundPhase
Definition: boss_anubarak.cpp:122
Creature *const me
Definition: CreatureAI.h:71
Definition: UnitAI.h:35
Unit * GetVictim() const
Definition: Unit.h:1379
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
Definition: UnitAI.cpp:91
Definition: boss_anubarak.cpp:37
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
uint32 PoundTimer
Definition: boss_anubarak.cpp:125
uint32 DelayTimer
Definition: boss_anubarak.cpp:129
uint32 ImpaleTimer
Definition: boss_anubarak.cpp:131
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition: Object.cpp:1214
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Definition: Unit.cpp:3586
Creature * DoSummonImpaleTarget(Unit *target)
Definition: boss_anubarak.cpp:150
Definition: UpdateFields.h:109
Definition: Common.h:103
Definition: boss_anubarak.cpp:24
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
bool HasUnitState(const uint32 f) const
Definition: Unit.h:1395
uint8_t uint8
Definition: Define.h:152
uint32 ImpalePhase
Definition: boss_anubarak.cpp:132
Definition: boss_anubarak.cpp:38
uint32 DatterTimer
Definition: boss_anubarak.cpp:128
void DoCastVictim(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:159
uint32 LeechingSwarmTimer
Definition: boss_anubarak.cpp:124
Definition: boss_anubarak.cpp:63
const Position SpawnPointGuardian[2]
Definition: boss_anubarak.cpp:75
Definition: Unit.h:1305
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:869
Phase
Definition: boss_kiljaeden.cpp:153
Definition: Unit.h:698
ObjectGuid ImpaleTarget
Definition: boss_anubarak.cpp:133
const Position SpawnPoint[2]
Definition: boss_anubarak.cpp:69
Definition: boss_anubarak.cpp:66
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:

Member Data Documentation

uint32 boss_anub_arak::boss_anub_arakAI::CarrionBeetlesTimer
bool boss_anub_arak::boss_anub_arakAI::Channeling
bool boss_anub_arak::boss_anub_arakAI::DatterSummoned
uint32 boss_anub_arak::boss_anub_arakAI::DatterTimer
uint32 boss_anub_arak::boss_anub_arakAI::DelayTimer
bool boss_anub_arak::boss_anub_arakAI::GuardianSummoned
uint32 boss_anub_arak::boss_anub_arakAI::ImpalePhase
ObjectGuid boss_anub_arak::boss_anub_arakAI::ImpaleTarget
uint32 boss_anub_arak::boss_anub_arakAI::ImpaleTimer
InstanceScript* boss_anub_arak::boss_anub_arakAI::instance
uint32 boss_anub_arak::boss_anub_arakAI::LeechingSwarmTimer
uint8 boss_anub_arak::boss_anub_arakAI::Phase
uint32 boss_anub_arak::boss_anub_arakAI::PoundTimer
SummonList boss_anub_arak::boss_anub_arakAI::Summons
uint32 boss_anub_arak::boss_anub_arakAI::UndergroundPhase
uint32 boss_anub_arak::boss_anub_arakAI::UndergroundTimer
bool boss_anub_arak::boss_anub_arakAI::VenomancerSummoned
uint32 boss_anub_arak::boss_anub_arakAI::VenomancerTimer

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