1071 if (
Unit* player = itr->GetSource())
1073 if (player->IsAlive() && player->IsWithinDistInMap(
me, 6.0f))
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
bool UpdateVictim()
Definition: CreatureAI.cpp:233
Map * GetMap() const
Definition: Object.h:543
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
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
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
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
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