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

Public Member Functions

 boss_icehowlAI (Creature *creature)
 
void Initialize ()
 
void Reset () override
 
void JustDied (Unit *) override
 
void MovementInform (uint32 type, uint32 pointId) override
 
void EnterEvadeMode (EvadeReason why) override
 
void JustReachedHome () override
 
void EnterCombat (Unit *) override
 
void SpellHitTarget (Unit *target, SpellInfo const *spell) override
 
void UpdateAI (uint32 diff) override
 
- Public Member Functions inherited from BossAI
 BossAI (Creature *creature, uint32 bossId)
 
virtual ~BossAI ()
 
void JustSummoned (Creature *summon) override
 
void SummonedCreatureDespawn (Creature *summon) override
 
virtual void ExecuteEvent (uint32)
 
virtual void ScheduleTasks ()
 
bool CanAIAttack (Unit const *target) const override
 
- Public Member Functions inherited from ScriptedAI
 ScriptedAI (Creature *creature)
 
virtual ~ScriptedAI ()
 
void AttackStartNoMove (Unit *target)
 
void DamageTaken (Unit *, uint32 &) override
 
void KilledUnit (Unit *) override
 
void SpellHit (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 IsSummonedBy (Unit *)
 
virtual void SummonedCreatureDies (Creature *, Unit *)
 
virtual void AttackedBy (Unit *)
 
virtual bool IsEscorted () const
 
virtual void JustRespawned ()
 
void OnCharmed (bool apply) override
 
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 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)
 

Private Attributes

float _trampleTargetX
 
float _trampleTargetY
 
float _trampleTargetZ
 
ObjectGuid _trampleTargetGUID
 
bool _movementStarted
 
bool _movementFinish
 
bool _trampleCast
 
uint8 _stage
 

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 ()
 
- Public Attributes inherited from BossAI
InstanceScript *const instance
 
- Public Attributes inherited from ScriptedAI
bool IsFleeing
 
- Static Public Attributes inherited from UnitAI
static AISpellInfoTypeAISpellInfo
 
- Protected Member Functions inherited from BossAI
void _Reset ()
 
void _EnterCombat ()
 
void _JustDied ()
 
void _JustReachedHome ()
 
void _DespawnAtEvade ()
 
void TeleportCheaters ()
 
- 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 BossAI
EventMap events
 
SummonList summons
 
TaskScheduler scheduler
 
- Protected Attributes inherited from CreatureAI
Creature *const me
 
CreatureBoundary const_boundary
 
- Protected Attributes inherited from UnitAI
Unit *const me
 

Constructor & Destructor Documentation

boss_icehowl::boss_icehowlAI::boss_icehowlAI ( Creature creature)
inline
853  : BossAI(creature, BOSS_BEASTS)
854  {
855  Initialize();
856  }
void Initialize()
Definition: boss_northrend_beasts.cpp:858
Definition: trial_of_the_crusader.h:12
BossAI(Creature *creature, uint32 bossId)
Definition: ScriptedCreature.cpp:444

+ Here is the call graph for this function:

Member Function Documentation

void boss_icehowl::boss_icehowlAI::EnterCombat ( Unit )
inlineoverridevirtual

Reimplemented from BossAI.

936  {
937  _EnterCombat();
939  }
void _EnterCombat()
Definition: ScriptedCreature.cpp:480
Definition: trial_of_the_crusader.h:25
Definition: trial_of_the_crusader.h:163
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52
InstanceScript *const instance
Definition: ScriptedCreature.h:340

+ Here is the call graph for this function:

void boss_icehowl::boss_icehowlAI::EnterEvadeMode ( EvadeReason  why)
inlineoverridevirtual

Reimplemented from CreatureAI.

923  {
926  }
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
Definition: CreatureAI.cpp:168
Definition: trial_of_the_crusader.h:261
virtual ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:93
void DoUseDoorOrButton(ObjectGuid guid, uint32 withRestoreTime=0, bool useAlternativeState=false)
Definition: InstanceScript.cpp:407
InstanceScript *const instance
Definition: ScriptedCreature.h:340

+ Here is the call graph for this function:

void boss_icehowl::boss_icehowlAI::Initialize ( void  )
inline
859  {
860  _movementStarted = false;
861  _movementFinish = false;
862  _trampleCast = false;
864  _trampleTargetX = 0;
865  _trampleTargetY = 0;
866  _trampleTargetZ = 0;
867  _stage = 0;
868  }
bool _trampleCast
Definition: boss_northrend_beasts.cpp:1115
float _trampleTargetZ
Definition: boss_northrend_beasts.cpp:1111
float _trampleTargetY
Definition: boss_northrend_beasts.cpp:1111
float _trampleTargetX
Definition: boss_northrend_beasts.cpp:1111
uint8 _stage
Definition: boss_northrend_beasts.cpp:1116
ObjectGuid _trampleTargetGUID
Definition: boss_northrend_beasts.cpp:1112
bool _movementFinish
Definition: boss_northrend_beasts.cpp:1114
void Clear()
Definition: ObjectGuid.h:215
bool _movementStarted
Definition: boss_northrend_beasts.cpp:1113

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void boss_icehowl::boss_icehowlAI::JustDied ( Unit )
inlineoverridevirtual

Reimplemented from BossAI.

880  {
881  _JustDied();
883  }
Definition: trial_of_the_crusader.h:25
void _JustDied()
Definition: ScriptedCreature.cpp:471
Definition: trial_of_the_crusader.h:164
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52
InstanceScript *const instance
Definition: ScriptedCreature.h:340

+ Here is the call graph for this function:

void boss_icehowl::boss_icehowlAI::JustReachedHome ( )
inlineoverridevirtual

Reimplemented from BossAI.

929  {
933  }
void DespawnOrUnsummon(uint32 msTimeToDespawn=0)
Definition: Creature.cpp:1774
Definition: trial_of_the_crusader.h:25
Definition: trial_of_the_crusader.h:261
Definition: InstanceScript.h:60
Creature *const me
Definition: CreatureAI.h:71
virtual ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:93
void DoUseDoorOrButton(ObjectGuid guid, uint32 withRestoreTime=0, bool useAlternativeState=false)
Definition: InstanceScript.cpp:407
virtual void SetData(uint32, uint32)
Definition: ZoneScript.h:52
InstanceScript *const instance
Definition: ScriptedCreature.h:340

+ Here is the call graph for this function:

void boss_icehowl::boss_icehowlAI::MovementInform ( uint32  type,
uint32  pointId 
)
inlineoverridevirtual

Reimplemented from CreatureAI.

886  {
887  if (type != POINT_MOTION_TYPE && type != EFFECT_MOTION_TYPE)
888  return;
889 
890  switch (pointId)
891  {
892  case 0:
893  if (_stage != 0)
894  {
896  // Middle of the room
897  _stage = 1;
898  else
899  {
900  // Landed from Hop backwards (start trample)
902  _stage = 4;
903  else
904  _stage = 6;
905  }
906  }
907  break;
908  case 1: // Finish trample
909  _movementFinish = true;
910  break;
911  case 2:
916  break;
917  default:
918  break;
919  }
920  }
Definition: Unit.h:674
Definition: Unit.h:1131
Definition: trial_of_the_crusader.h:261
Creature *const me
Definition: CreatureAI.h:71
virtual ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:93
uint8 _stage
Definition: boss_northrend_beasts.cpp:1116
void DoUseDoorOrButton(ObjectGuid guid, uint32 withRestoreTime=0, bool useAlternativeState=false)
Definition: InstanceScript.cpp:407
float GetPositionY() const
Definition: Position.h:105
TC_GAME_API Player * GetPlayer(Map const *, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:184
const Position ToCCommonLoc[]
Definition: trial_of_the_crusader.h:54
Definition: MotionMaster.h:54
ObjectGuid _trampleTargetGUID
Definition: boss_northrend_beasts.cpp:1112
bool _movementFinish
Definition: boss_northrend_beasts.cpp:1114
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition: Object.cpp:1214
float GetDistance2d(WorldObject const *obj) const
Definition: Object.cpp:1612
Definition: UpdateFields.h:109
void SetInCombatWithZone()
Definition: Creature.cpp:2299
float GetPositionX() const
Definition: Position.h:104
void SetReactState(ReactStates st)
Definition: Creature.h:502
Definition: MotionMaster.h:46
Definition: Unit.h:698
InstanceScript *const instance
Definition: ScriptedCreature.h:340

+ Here is the call graph for this function:

void boss_icehowl::boss_icehowlAI::Reset ( )
inlineoverridevirtual

Reimplemented from BossAI.

871  {
876  Initialize();
877  }
Definition: boss_northrend_beasts.cpp:138
void Initialize()
Definition: boss_northrend_beasts.cpp:858
Definition: boss_northrend_beasts.cpp:141
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
Definition: boss_northrend_beasts.cpp:139
void ScheduleEvent(uint32 eventId, Milliseconds const &time, uint32 group=0, uint8 phase=0)
Definition: EventMap.h:123
Definition: boss_northrend_beasts.cpp:140
Definition: Common.h:103
EventMap events
Definition: ScriptedCreature.h:371

+ Here is the call graph for this function:

void boss_icehowl::boss_icehowlAI::SpellHitTarget ( Unit target,
SpellInfo const spell 
)
inlineoverridevirtual

Reimplemented from ScriptedAI.

942  {
943  if (spell->Id == SPELL_TRAMPLE && target->GetTypeId() == TYPEID_PLAYER)
944  {
945  if (!_trampleCast)
946  {
947  DoCast(me, SPELL_FROTHING_RAGE, true);
948  _trampleCast = true;
949  }
950  }
951  }
Definition: boss_northrend_beasts.cpp:103
bool _trampleCast
Definition: boss_northrend_beasts.cpp:1115
Creature *const me
Definition: CreatureAI.h:71
TypeID GetTypeId() const
Definition: Object.h:113
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
Definition: ObjectGuid.h:33
Definition: boss_northrend_beasts.cpp:104

+ Here is the call graph for this function:

void boss_icehowl::boss_icehowlAI::UpdateAI ( uint32  diff)
inlineoverridevirtual

Reimplemented from BossAI.

954  {
955  if (!UpdateVictim())
956  return;
957 
958  events.Update(diff);
959 
961  return;
962 
963  switch (_stage)
964  {
965  case 0:
966  {
967  while (uint32 eventId = events.ExecuteEvent())
968  {
969  switch (eventId)
970  {
974  return;
975  case EVENT_ARCTIC_BREATH:
976  if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0.0f, true))
977  DoCast(target, SPELL_ARCTIC_BREATH);
978  return;
979  case EVENT_WHIRL:
982  return;
983  case EVENT_MASSIVE_CRASH:
984  me->GetMotionMaster()->MoveJump(ToCCommonLoc[1], 20.0f, 20.0f, 0); // 1: Middle of the room
985  SetCombatMovement(false);
986  me->AttackStop();
987  _stage = 7; //Invalid (Do nothing more than move)
988  return;
989  default:
990  break;
991  }
992  }
994  break;
995  }
996  case 1:
998  me->StopMoving();
999  me->AttackStop();
1000  _stage = 2;
1001  break;
1002  case 2:
1003  if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0.0f, true))
1004  {
1005  me->StopMoving();
1006  me->AttackStop();
1007  _trampleTargetGUID = target->GetGUID();
1009  _trampleCast = false;
1010  SetCombatMovement(false);
1012  me->GetMotionMaster()->Clear();
1013  me->GetMotionMaster()->MoveIdle();
1015  _stage = 3;
1016  }
1017  else
1018  _stage = 6;
1019  break;
1020  case 3:
1021  while (uint32 eventId = events.ExecuteEvent())
1022  {
1023  switch (eventId)
1024  {
1025  case EVENT_TRAMPLE:
1026  {
1028  {
1029  me->StopMoving();
1030  me->AttackStop();
1031  _trampleCast = false;
1032  _movementStarted = true;
1033  _trampleTargetX = target->GetPositionX();
1034  _trampleTargetY = target->GetPositionY();
1035  _trampleTargetZ = target->GetPositionZ();
1036  // 2: Hop Backwards
1038  _stage = 7; //Invalid (Do nothing more than move)
1039  }
1040  else
1041  _stage = 6;
1042  break;
1043  }
1044  default:
1045  break;
1046  }
1047  }
1048  break;
1049  case 4:
1050  me->StopMoving();
1051  me->AttackStop();
1053  Talk(EMOTE_TRAMPLE_START, target);
1056  _stage = 5;
1057  break;
1058  case 5:
1059  if (_movementFinish)
1060  {
1062  _movementFinish = false;
1063  _stage = 6;
1064  return;
1065  }
1067  {
1068  Map::PlayerList const &lPlayers = me->GetMap()->GetPlayers();
1069  for (Map::PlayerList::const_iterator itr = lPlayers.begin(); itr != lPlayers.end(); ++itr)
1070  {
1071  if (Unit* player = itr->GetSource())
1072  {
1073  if (player->IsAlive() && player->IsWithinDistInMap(me, 6.0f))
1074  {
1077  break;
1078  }
1079  }
1080  }
1081  }
1082  break;
1083  case 6:
1084  if (!_trampleCast)
1085  {
1088  }
1089  else
1090  {
1091  DoCast(me, SPELL_FROTHING_RAGE, true);
1093  }
1094  _movementStarted = false;
1096  SetCombatMovement(true);
1098  me->GetMotionMaster()->Clear();
1100  AttackStart(me->GetVictim());
1103  _stage = 0;
1104  break;
1105  default:
1106  break;
1107  }
1108  }
bool AttackStop()
Definition: Unit.cpp:7337
Definition: boss_northrend_beasts.cpp:103
bool _trampleCast
Definition: boss_northrend_beasts.cpp:1115
void DoCastAOE(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:167
static ObjectGuid const Empty
Definition: ObjectGuid.h:196
Definition: boss_northrend_beasts.cpp:138
void MoveIdle()
Definition: MotionMaster.cpp:185
Definition: Unit.h:674
bool UpdateVictim()
Definition: CreatureAI.cpp:233
Map * GetMap() const
Definition: Object.h:543
Definition: Unit.h:565
void Clear(bool reset=true)
Definition: MotionMaster.h:138
float _trampleTargetZ
Definition: boss_northrend_beasts.cpp:1111
void MoveChase(Unit *target, float dist=0.0f, float angle=0.0f)
Definition: MotionMaster.cpp:241
MotionMaster * GetMotionMaster()
Definition: Unit.h:2101
float _trampleTargetY
Definition: boss_northrend_beasts.cpp:1111
Definition: boss_northrend_beasts.cpp:105
void MoveCharge(float x, float y, float z, float speed=SPEED_CHARGE, uint32 id=EVENT_CHARGE, bool generatePath=false)
Definition: MotionMaster.cpp:465
Definition: Unit.h:675
void SetFlag(uint16 index, uint32 newFlag)
Definition: Object.cpp:1199
iterator begin()
Definition: MapRefManager.h:37
Definition: boss_northrend_beasts.cpp:142
float _trampleTargetX
Definition: boss_northrend_beasts.cpp:1111
Creature *const me
Definition: CreatureAI.h:71
float GetOrientation() const
Definition: Position.h:107
uint8 _stage
Definition: boss_northrend_beasts.cpp:1116
Definition: UnitAI.h:35
void MoveJump(Position const &pos, float speedXY, float speedZ, uint32 id=EVENT_JUMP, bool hasOrientation=false, uint32 arrivalSpellId=0, ObjectGuid const &arrivalSpellTargetGuid=ObjectGuid::Empty)
Definition: MotionMaster.h:184
Definition: boss_northrend_beasts.cpp:40
Unit * GetVictim() const
Definition: Unit.h:1379
Definition: boss_northrend_beasts.cpp:141
float GetPositionY() const
Definition: Position.h:105
TC_GAME_API Player * GetPlayer(Map const *, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:184
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
const Position ToCCommonLoc[]
Definition: trial_of_the_crusader.h:54
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_northrend_beasts.cpp:139
uint32_t uint32
Definition: Define.h:150
Definition: LinkedList.h:141
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
Definition: boss_northrend_beasts.cpp:101
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
void ScheduleEvent(uint32 eventId, Milliseconds const &time, uint32 group=0, uint8 phase=0)
Definition: EventMap.h:123
ObjectGuid _trampleTargetGUID
Definition: boss_northrend_beasts.cpp:1112
void SetCombatMovement(bool allowMovement)
Definition: ScriptedCreature.cpp:382
bool _movementFinish
Definition: boss_northrend_beasts.cpp:1114
void Update(uint32 time)
Definition: EventMap.h:54
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition: Object.cpp:1214
PlayerList const & GetPlayers() const
Definition: Map.h:433
Definition: boss_northrend_beasts.cpp:100
Definition: boss_northrend_beasts.cpp:99
Definition: MapRefManager.h:26
void AttackStart(Unit *) override
Definition: ScriptedCreature.cpp:117
Definition: UpdateFields.h:109
bool _movementStarted
Definition: boss_northrend_beasts.cpp:1113
Definition: boss_northrend_beasts.cpp:140
Definition: Common.h:103
uint32 ExecuteEvent()
Definition: EventMap.cpp:46
Definition: boss_northrend_beasts.cpp:104
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
bool HasUnitState(const uint32 f) const
Definition: Unit.h:1395
EventMap events
Definition: ScriptedCreature.h:371
void DoCastVictim(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:159
float GetPositionX() const
Definition: Position.h:104
void MovementExpired(bool reset=true)
Definition: MotionMaster.h:151
Definition: boss_northrend_beasts.cpp:39
Definition: Unit.h:1305
void StopMoving()
-------—End of Pet responses methods-------—
Definition: Unit.cpp:12743
void SetTarget(ObjectGuid const &guid) override
Definition: Creature.cpp:2675
iterator end()
Definition: MapRefManager.h:38
Definition: boss_northrend_beasts.cpp:102
Definition: boss_northrend_beasts.cpp:38

+ Here is the call graph for this function:

Member Data Documentation

bool boss_icehowl::boss_icehowlAI::_movementFinish
private
bool boss_icehowl::boss_icehowlAI::_movementStarted
private
uint8 boss_icehowl::boss_icehowlAI::_stage
private
bool boss_icehowl::boss_icehowlAI::_trampleCast
private
ObjectGuid boss_icehowl::boss_icehowlAI::_trampleTargetGUID
private
float boss_icehowl::boss_icehowlAI::_trampleTargetX
private
float boss_icehowl::boss_icehowlAI::_trampleTargetY
private
float boss_icehowl::boss_icehowlAI::_trampleTargetZ
private

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