266 victor->SetFacingToObject(
me);
272 if (
Unit* player = victor->SelectNearestPlayer(60.0f))
273 victor->SetFacingToObject(player);
277 victor->SetFacingTo(1.518436f);
370 portcullis->UseDoorOrButton();
376 portcullis->UseDoorOrButton();
382 portcullis->UseDoorOrButton();
388 portcullis->UseDoorOrButton();
394 portcullis->UseDoorOrButton();
400 portcullis->UseDoorOrButton();
Definition: boss_rend_blackhand.cpp:28
Definition: boss_rend_blackhand.cpp:149
bool gythEvent
Definition: boss_rend_blackhand.cpp:439
Definition: boss_rend_blackhand.cpp:134
Definition: boss_rend_blackhand.cpp:64
bool UpdateVictim()
Definition: CreatureAI.cpp:233
Definition: boss_rend_blackhand.cpp:137
Map * GetMap() const
Definition: Object.h:543
Definition: boss_rend_blackhand.cpp:36
Definition: boss_rend_blackhand.cpp:43
Definition: boss_rend_blackhand.cpp:145
Definition: boss_rend_blackhand.cpp:139
Definition: boss_rend_blackhand.cpp:46
Definition: boss_rend_blackhand.cpp:146
Definition: boss_rend_blackhand.cpp:151
Definition: boss_rend_blackhand.cpp:142
Definition: boss_rend_blackhand.cpp:154
Definition: SharedDefines.h:2435
MotionMaster * GetMotionMaster()
Definition: Unit.h:2101
Definition: boss_rend_blackhand.cpp:130
Definition: Creature.h:467
Definition: boss_rend_blackhand.cpp:141
Definition: SharedDefines.h:2413
Definition: boss_rend_blackhand.cpp:127
ObjectGuid victorGUID
Definition: boss_rend_blackhand.cpp:440
Definition: boss_rend_blackhand.cpp:140
Definition: boss_rend_blackhand.cpp:135
ObjectGuid portcullisGUID
Definition: boss_rend_blackhand.cpp:441
Definition: boss_rend_blackhand.cpp:40
Creature *const me
Definition: CreatureAI.h:71
Definition: boss_rend_blackhand.cpp:143
Definition: boss_rend_blackhand.cpp:47
Definition: boss_rend_blackhand.cpp:136
Definition: boss_rend_blackhand.cpp:61
Definition: boss_rend_blackhand.cpp:126
void NearTeleportTo(float x, float y, float z, float orientation, bool casting=false)
Definition: Unit.cpp:15407
Definition: SharedDefines.h:2418
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
Definition: boss_rend_blackhand.cpp:147
uint32_t uint32
Definition: Define.h:150
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
Definition: GameObject.h:880
Definition: boss_rend_blackhand.cpp:156
void SetFacingTo(float ori)
Definition: Unit.cpp:15777
Definition: boss_rend_blackhand.cpp:27
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
Definition: boss_rend_blackhand.cpp:152
void ScheduleEvent(uint32 eventId, Milliseconds const &time, uint32 group=0, uint8 phase=0)
Definition: EventMap.h:123
Definition: boss_rend_blackhand.cpp:45
Definition: boss_rend_blackhand.cpp:128
Definition: boss_rend_blackhand.cpp:44
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
void Update(uint32 time)
Definition: EventMap.h:54
Definition: boss_rend_blackhand.cpp:42
Definition: boss_rend_blackhand.cpp:41
Definition: SharedDefines.h:2425
Definition: boss_rend_blackhand.cpp:150
Definition: boss_rend_blackhand.cpp:132
Definition: boss_rend_blackhand.cpp:138
uint32 ExecuteEvent()
Definition: EventMap.cpp:46
void MovePath(uint32 path_id, bool repeatable)
Definition: MotionMaster.cpp:618
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
bool HasUnitState(const uint32 f) const
Definition: Unit.h:1395
Definition: boss_rend_blackhand.cpp:26
EventMap events
Definition: ScriptedCreature.h:371
void HandleEmoteCommand(uint32 anim_id)
Definition: Unit.cpp:1444
void DoCastVictim(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:159
Definition: boss_rend_blackhand.cpp:48
Definition: boss_rend_blackhand.cpp:155
Definition: boss_rend_blackhand.cpp:148
Definition: blackrock_spire.h:67
Definition: boss_rend_blackhand.cpp:153
GameObject * GetGameObject(ObjectGuid const &guid)
Definition: Map.cpp:3545
Definition: boss_rend_blackhand.cpp:157
Definition: boss_rend_blackhand.cpp:144
Definition: boss_rend_blackhand.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
Definition: boss_rend_blackhand.cpp:37
Definition: boss_rend_blackhand.cpp:131