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

Public Member Functions

 boss_hydross_the_unstableAI (Creature *creature)
 
void Initialize ()
 
void Reset () override
 
void SummonBeams ()
 
void DeSummonBeams ()
 
void EnterCombat (Unit *) override
 
void KilledUnit (Unit *) override
 
void JustSummoned (Creature *summoned) override
 
void SummonedCreatureDespawn (Creature *summon) override
 
void JustDied (Unit *) 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 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
 
ObjectGuid beams [2]
 
uint32 PosCheck_Timer
 
uint32 MarkOfHydross_Timer
 
uint32 MarkOfCorruption_Timer
 
uint32 WaterTomb_Timer
 
uint32 VileSludge_Timer
 
uint32 MarkOfHydross_Count
 
uint32 MarkOfCorruption_Count
 
uint32 EnrageTimer
 
bool CorruptedForm
 
bool beam
 
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_hydross_the_unstable::boss_hydross_the_unstableAI::boss_hydross_the_unstableAI ( Creature creature)
inline
94  : ScriptedAI(creature), Summons(me)
95  {
96  Initialize();
97  instance = creature->GetInstanceScript();
98  }
void Initialize()
Definition: boss_hydross_the_unstable.cpp:100
ScriptedAI(Creature *creature)
Definition: ScriptedCreature.cpp:100
InstanceScript * GetInstanceScript()
Definition: Object.cpp:1540
Creature *const me
Definition: CreatureAI.h:71
InstanceScript * instance
Definition: boss_hydross_the_unstable.cpp:117
SummonList Summons
Definition: boss_hydross_the_unstable.cpp:130

+ Here is the call graph for this function:

Member Function Documentation

void boss_hydross_the_unstable::boss_hydross_the_unstableAI::DeSummonBeams ( )
inline
167  {
168  for (uint8 i = 0; i < 2; ++i)
169  {
170  if (Creature* mob = ObjectAccessor::GetCreature(*me, beams[i]))
171  {
172  mob->setDeathState(DEAD);
173  mob->RemoveCorpse();
174  }
175  }
176  }
Definition: Unit.h:544
Definition: Creature.h:467
ObjectGuid beams[2]
Definition: boss_hydross_the_unstable.cpp:119
Creature *const me
Definition: CreatureAI.h:71
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
uint8_t uint8
Definition: Define.h:152

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void boss_hydross_the_unstable::boss_hydross_the_unstableAI::EnterCombat ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

178  {
179  Talk(SAY_AGGRO);
180 
182  }
Definition: serpent_shrine.h:35
Definition: InstanceScript.h:59
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52
InstanceScript * instance
Definition: boss_hydross_the_unstable.cpp:117
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
Definition: boss_hydross_the_unstable.cpp:32

+ Here is the call graph for this function:

void boss_hydross_the_unstable::boss_hydross_the_unstableAI::Initialize ( void  )
inline
101  {
102  beams[0].Clear();
103  beams[1].Clear();
104  PosCheck_Timer = 2500;
105  MarkOfHydross_Timer = 15000;
106  MarkOfCorruption_Timer = 15000;
107  WaterTomb_Timer = 7000;
108  VileSludge_Timer = 7000;
111  EnrageTimer = 600000;
112 
113  CorruptedForm = false;
114  beam = false;
115  }
bool beam
Definition: boss_hydross_the_unstable.cpp:129
uint32 WaterTomb_Timer
Definition: boss_hydross_the_unstable.cpp:123
uint32 EnrageTimer
Definition: boss_hydross_the_unstable.cpp:127
uint32 VileSludge_Timer
Definition: boss_hydross_the_unstable.cpp:124
uint32 MarkOfHydross_Timer
Definition: boss_hydross_the_unstable.cpp:121
uint32 MarkOfHydross_Count
Definition: boss_hydross_the_unstable.cpp:125
ObjectGuid beams[2]
Definition: boss_hydross_the_unstable.cpp:119
void Clear()
Definition: ObjectGuid.h:215
uint32 PosCheck_Timer
Definition: boss_hydross_the_unstable.cpp:120
uint32 MarkOfCorruption_Timer
Definition: boss_hydross_the_unstable.cpp:122
bool CorruptedForm
Definition: boss_hydross_the_unstable.cpp:128
uint32 MarkOfCorruption_Count
Definition: boss_hydross_the_unstable.cpp:126

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void boss_hydross_the_unstable::boss_hydross_the_unstableAI::JustDied ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

211  {
213 
215  Summons.DespawnAll();
216  }
Definition: inflate.h:49
Definition: serpent_shrine.h:35
Definition: boss_hydross_the_unstable.cpp:35
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52
InstanceScript * instance
Definition: boss_hydross_the_unstable.cpp:117
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
Definition: boss_hydross_the_unstable.cpp:38
bool CorruptedForm
Definition: boss_hydross_the_unstable.cpp:128
Definition: boss_urom.cpp:72

+ Here is the call graph for this function:

void boss_hydross_the_unstable::boss_hydross_the_unstableAI::JustSummoned ( Creature summoned)
inlineoverridevirtual

Reimplemented from ScriptedAI.

190  {
191  if (summoned->GetEntry() == ENTRY_PURE_SPAWN)
192  {
194  summoned->CastSpell(summoned, SPELL_ELEMENTAL_SPAWNIN, true);
195  Summons.Summon(summoned);
196  }
197  if (summoned->GetEntry() == ENTRY_TAINTED_SPAWN)
198  {
200  summoned->CastSpell(summoned, SPELL_ELEMENTAL_SPAWNIN, true);
201  Summons.Summon(summoned);
202  }
203  }
void ApplySpellImmune(uint32 spellId, uint32 op, uint32 type, bool apply)
Definition: Unit.cpp:9615
Definition: boss_hydross_the_unstable.cpp:61
Definition: SharedDefines.h:292
Definition: boss_hydross_the_unstable.cpp:64
Definition: boss_hydross_the_unstable.cpp:65
uint32 GetEntry() const
Definition: Object.h:107
Definition: SharedDefines.h:1862
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
Definition: boss_urom.cpp:72
Definition: SharedDefines.h:291

+ Here is the call graph for this function:

void boss_hydross_the_unstable::boss_hydross_the_unstableAI::KilledUnit ( Unit )
inlineoverridevirtual

Reimplemented from ScriptedAI.

185  {
187  }
Definition: boss_hydross_the_unstable.cpp:34
Definition: boss_hydross_the_unstable.cpp:37
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
bool CorruptedForm
Definition: boss_hydross_the_unstable.cpp:128

+ Here is the call graph for this function:

void boss_hydross_the_unstable::boss_hydross_the_unstableAI::Reset ( )
inlineoverridevirtual

Reimplemented from ScriptedAI.

133  {
134  DeSummonBeams();
135  Initialize();
136 
140 
142 
144  Summons.DespawnAll();
145  }
void Initialize()
Definition: boss_hydross_the_unstable.cpp:100
Definition: SharedDefines.h:278
Definition: serpent_shrine.h:35
void ApplySpellImmune(uint32 spellId, uint32 op, uint32 type, bool apply)
Definition: Unit.cpp:9615
Definition: SharedDefines.h:292
Creature *const me
Definition: CreatureAI.h:71
void DeSummonBeams()
Definition: boss_hydross_the_unstable.cpp:166
void SetMeleeDamageSchool(SpellSchools school)
Definition: Creature.h:528
Definition: boss_hydross_the_unstable.cpp:43
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52
Definition: InstanceScript.h:58
InstanceScript * instance
Definition: boss_hydross_the_unstable.cpp:117
void SetDisplayId(uint32 modelId) override
Definition: Creature.cpp:2664
Definition: SharedDefines.h:1862
Definition: boss_urom.cpp:72
Definition: SharedDefines.h:291

+ Here is the call graph for this function:

void boss_hydross_the_unstable::boss_hydross_the_unstableAI::SummonBeams ( )
inline
148  {
149  Creature* beamer = me->SummonCreature(ENTRY_BEAM_DUMMY, -258.333f, -356.34f, 22.0499f, 5.90835f, TEMPSUMMON_CORPSE_DESPAWN, 0);
150  if (beamer)
151  {
152  beamer->CastSpell(me, SPELL_BLUE_BEAM, true);
153  beamer->SetDisplayId(11686); //invisible
155  beams[0] = beamer->GetGUID();
156  }
157  beamer = me->SummonCreature(ENTRY_BEAM_DUMMY, -219.918f, -371.308f, 22.0042f, 2.73072f, TEMPSUMMON_CORPSE_DESPAWN, 0);
158  if (beamer)
159  {
160  beamer->CastSpell(me, SPELL_BLUE_BEAM, true);
161  beamer->SetDisplayId(11686); //invisible
163  beams[1] = beamer->GetGUID();
164  }
165  }
Definition: boss_hydross_the_unstable.cpp:66
Definition: Object.h:58
Definition: Creature.h:467
void SetFlag(uint16 index, uint32 newFlag)
Definition: Object.cpp:1199
Definition: boss_hydross_the_unstable.cpp:62
ObjectGuid beams[2]
Definition: boss_hydross_the_unstable.cpp:119
Creature *const me
Definition: CreatureAI.h:71
ObjectGuid const & GetGUID() const
Definition: Object.h:105
void SetDisplayId(uint32 modelId) override
Definition: Creature.cpp:2664
Definition: UpdateFields.h:109
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
Definition: Unit.h:698
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_hydross_the_unstable::boss_hydross_the_unstableAI::SummonedCreatureDespawn ( Creature summon)
inlineoverridevirtual

Reimplemented from ScriptedAI.

206  {
207  Summons.Despawn(summon);
208  }
Definition: boss_urom.cpp:72

+ Here is the call graph for this function:

void boss_hydross_the_unstable::boss_hydross_the_unstableAI::UpdateAI ( uint32  diff)
inlineoverridevirtual

Reimplemented from ScriptedAI.

219  {
220  if (!beam)
221  {
222  SummonBeams();
223  beam=true;
224  }
225  //Return since we have no target
226  if (!UpdateVictim())
227  return;
228 
229  // corrupted form
230  if (CorruptedForm)
231  {
232  //MarkOfCorruption_Timer
233  if (MarkOfCorruption_Timer <= diff)
234  {
235  if (MarkOfCorruption_Count <= 5)
236  {
237  uint32 mark_spell = 0;
238 
239  switch (MarkOfCorruption_Count)
240  {
241  case 0:
242  mark_spell = SPELL_MARK_OF_CORRUPTION1;
243  break;
244 
245  case 1:
246  mark_spell = SPELL_MARK_OF_CORRUPTION2;
247  break;
248 
249  case 2:
250  mark_spell = SPELL_MARK_OF_CORRUPTION3;
251  break;
252 
253  case 3:
254  mark_spell = SPELL_MARK_OF_CORRUPTION4;
255  break;
256 
257  case 4:
258  mark_spell = SPELL_MARK_OF_CORRUPTION5;
259  break;
260 
261  case 5:
262  mark_spell = SPELL_MARK_OF_CORRUPTION6;
263  break;
264  }
265 
266  DoCastVictim(mark_spell);
267 
268  if (MarkOfCorruption_Count < 5)
270  }
271 
272  MarkOfCorruption_Timer = 15000;
273  } else MarkOfCorruption_Timer -= diff;
274 
275  //VileSludge_Timer
276  if (VileSludge_Timer <= diff)
277  {
278  if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
279  DoCast(target, SPELL_VILE_SLUDGE);
280 
281  VileSludge_Timer = 15000;
282  } else VileSludge_Timer -= diff;
283 
284  //PosCheck_Timer
285  if (PosCheck_Timer <= diff)
286  {
288  {
289  // switch to clean form
291  CorruptedForm = false;
293 
295  DoResetThreat();
296  SummonBeams();
297 
298  // spawn 4 adds
303 
307  }
308 
309  PosCheck_Timer = 2500;
310  } else PosCheck_Timer -=diff;
311  }
312  // clean form
313  else
314  {
315  //MarkOfHydross_Timer
316  if (MarkOfHydross_Timer <= diff)
317  {
318  if (MarkOfHydross_Count <= 5)
319  {
320  uint32 mark_spell = 0;
321 
322  switch (MarkOfHydross_Count)
323  {
324  case 0:
325  mark_spell = SPELL_MARK_OF_HYDROSS1;
326  break;
327 
328  case 1:
329  mark_spell = SPELL_MARK_OF_HYDROSS2;
330  break;
331 
332  case 2:
333  mark_spell = SPELL_MARK_OF_HYDROSS3;
334  break;
335 
336  case 3:
337  mark_spell = SPELL_MARK_OF_HYDROSS4;
338  break;
339 
340  case 4:
341  mark_spell = SPELL_MARK_OF_HYDROSS5;
342  break;
343 
344  case 5:
345  mark_spell = SPELL_MARK_OF_HYDROSS6;
346  break;
347  }
348 
349  DoCastVictim(mark_spell);
350 
351  if (MarkOfHydross_Count < 5)
353  }
354 
355  MarkOfHydross_Timer = 15000;
356  } else MarkOfHydross_Timer -= diff;
357 
358  //WaterTomb_Timer
359  if (WaterTomb_Timer <= diff)
360  {
361  Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100, true);
362  if (target)
363  DoCast(target, SPELL_WATER_TOMB);
364 
365  WaterTomb_Timer = 7000;
366  } else WaterTomb_Timer -= diff;
367 
368  //PosCheck_Timer
369  if (PosCheck_Timer <= diff)
370  {
372  {
373  // switch to corrupted form
376  CorruptedForm = true;
377 
379  DoResetThreat();
380  DeSummonBeams();
381 
382  // spawn 4 adds
387 
391  }
392 
393  PosCheck_Timer = 2500;
394  } else PosCheck_Timer -=diff;
395  }
396 
397  //EnrageTimer
398  if (EnrageTimer <= diff)
399  {
401  EnrageTimer = 60000;
402  } else EnrageTimer -= diff;
403 
405  }
bool beam
Definition: boss_hydross_the_unstable.cpp:129
uint32 WaterTomb_Timer
Definition: boss_hydross_the_unstable.cpp:123
void SummonBeams()
Definition: boss_hydross_the_unstable.cpp:147
#define SPAWN_X_DIFF2
Definition: boss_hydross_the_unstable.cpp:75
bool UpdateVictim()
Definition: CreatureAI.cpp:233
Definition: boss_hydross_the_unstable.cpp:56
uint32 EnrageTimer
Definition: boss_hydross_the_unstable.cpp:127
uint32 VileSludge_Timer
Definition: boss_hydross_the_unstable.cpp:124
Definition: SharedDefines.h:278
#define SPAWN_X_DIFF4
Definition: boss_hydross_the_unstable.cpp:79
Definition: SharedDefines.h:277
Definition: boss_hydross_the_unstable.cpp:36
#define HYDROSS_X
Definition: boss_hydross_the_unstable.cpp:70
#define SPAWN_Y_DIFF1
Definition: boss_hydross_the_unstable.cpp:74
void ApplySpellImmune(uint32 spellId, uint32 op, uint32 type, bool apply)
Definition: Unit.cpp:9615
#define SPAWN_Y_DIFF4
Definition: boss_hydross_the_unstable.cpp:80
Definition: boss_hydross_the_unstable.cpp:59
uint32 MarkOfHydross_Timer
Definition: boss_hydross_the_unstable.cpp:121
Definition: Object.h:58
uint32 MarkOfHydross_Count
Definition: boss_hydross_the_unstable.cpp:125
#define SPAWN_X_DIFF3
Definition: boss_hydross_the_unstable.cpp:77
#define HYDROSS_Y
Definition: boss_hydross_the_unstable.cpp:71
bool IsWithinDist2d(float x, float y, float dist) const
Definition: Object.cpp:1648
Definition: boss_hydross_the_unstable.cpp:52
Definition: boss_hydross_the_unstable.cpp:40
Definition: boss_hydross_the_unstable.cpp:49
Definition: boss_hydross_the_unstable.cpp:42
Definition: boss_hydross_the_unstable.cpp:57
Definition: SharedDefines.h:292
Creature *const me
Definition: CreatureAI.h:71
void DeSummonBeams()
Definition: boss_hydross_the_unstable.cpp:166
Definition: boss_hydross_the_unstable.cpp:53
void SetMeleeDamageSchool(SpellSchools school)
Definition: Creature.h:528
Definition: boss_hydross_the_unstable.cpp:55
Definition: boss_hydross_the_unstable.cpp:43
Definition: UnitAI.h:35
Definition: boss_hydross_the_unstable.cpp:54
Definition: boss_hydross_the_unstable.cpp:64
Definition: boss_hydross_the_unstable.cpp:47
Definition: boss_hydross_the_unstable.cpp:50
Definition: boss_hydross_the_unstable.cpp:58
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
Definition: UnitAI.cpp:91
Definition: boss_hydross_the_unstable.cpp:46
uint32_t uint32
Definition: Define.h:150
Definition: boss_hydross_the_unstable.cpp:45
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
Creature * DoSpawnCreature(uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, uint32 type, uint32 despawntime)
Definition: ScriptedCreature.cpp:177
Definition: boss_hydross_the_unstable.cpp:51
Definition: boss_hydross_the_unstable.cpp:33
#define SPAWN_X_DIFF1
Definition: boss_hydross_the_unstable.cpp:73
void DoResetThreat()
Definition: ScriptedCreature.cpp:248
#define SPAWN_Y_DIFF3
Definition: boss_hydross_the_unstable.cpp:78
void SetDisplayId(uint32 modelId) override
Definition: Creature.cpp:2664
uint32 PosCheck_Timer
Definition: boss_hydross_the_unstable.cpp:120
Definition: boss_hydross_the_unstable.cpp:65
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
Definition: boss_hydross_the_unstable.cpp:48
void DoCastVictim(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:159
uint32 MarkOfCorruption_Timer
Definition: boss_hydross_the_unstable.cpp:122
Definition: SharedDefines.h:1862
Definition: Unit.h:1305
bool CorruptedForm
Definition: boss_hydross_the_unstable.cpp:128
uint32 MarkOfCorruption_Count
Definition: boss_hydross_the_unstable.cpp:126
Definition: SharedDefines.h:291
#define SPAWN_Y_DIFF2
Definition: boss_hydross_the_unstable.cpp:76

+ Here is the call graph for this function:

Member Data Documentation

bool boss_hydross_the_unstable::boss_hydross_the_unstableAI::beam
ObjectGuid boss_hydross_the_unstable::boss_hydross_the_unstableAI::beams[2]
bool boss_hydross_the_unstable::boss_hydross_the_unstableAI::CorruptedForm
uint32 boss_hydross_the_unstable::boss_hydross_the_unstableAI::EnrageTimer
InstanceScript* boss_hydross_the_unstable::boss_hydross_the_unstableAI::instance
uint32 boss_hydross_the_unstable::boss_hydross_the_unstableAI::MarkOfCorruption_Count
uint32 boss_hydross_the_unstable::boss_hydross_the_unstableAI::MarkOfCorruption_Timer
uint32 boss_hydross_the_unstable::boss_hydross_the_unstableAI::MarkOfHydross_Count
uint32 boss_hydross_the_unstable::boss_hydross_the_unstableAI::MarkOfHydross_Timer
uint32 boss_hydross_the_unstable::boss_hydross_the_unstableAI::PosCheck_Timer
SummonList boss_hydross_the_unstable::boss_hydross_the_unstableAI::Summons
uint32 boss_hydross_the_unstable::boss_hydross_the_unstableAI::VileSludge_Timer
uint32 boss_hydross_the_unstable::boss_hydross_the_unstableAI::WaterTomb_Timer

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