274 std::list<Creature*> lspectatorList;
276 for (std::list<Creature*>::iterator itr = lspectatorList.begin(); itr != lspectatorList.end(); ++itr)
278 if ((*itr)->IsAlive())
281 (*itr)->SetWalk(
false);
282 (*itr)->GetMotionMaster()->MovePoint(1,
spectatorWP[0]);
296 arthas->InterruptNonMeleeSpells(
true);
317 arthas->SetVisible(
false);
338 arthas->DespawnOrUnsummon();
void RemoveAllAuras()
Definition: Unit.cpp:3920
Definition: boss_svala.cpp:103
Definition: boss_svala.cpp:108
void MoveIdle()
Definition: MotionMaster.cpp:185
bool UpdateVictim()
Definition: CreatureAI.cpp:233
void SetPhase(uint8 phase)
Definition: EventMap.cpp:27
Definition: boss_svala.cpp:35
float m_positionY
Definition: Position.h:53
bool HealthBelowPct(uint32 pct) const
Definition: ScriptedCreature.h:247
Definition: boss_svala.cpp:101
Definition: boss_svala.cpp:105
bool _introCompleted
Definition: boss_svala.cpp:390
Definition: boss_svala.cpp:42
ObjectGuid _arthasGUID
Definition: boss_svala.cpp:388
Definition: boss_svala.cpp:28
MotionMaster * GetMotionMaster()
Definition: Unit.h:2101
Position const spectatorWP[2]
Definition: boss_svala.cpp:123
TC_GAME_API void GetCreatureListWithEntryInGrid(std::list< Creature * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
Definition: ScriptedCreature.cpp:621
virtual void SetGuidData(uint32, ObjectGuid)
Definition: ZoneScript.h:45
Definition: boss_svala.cpp:86
float m_positionX
Definition: Position.h:52
Definition: boss_svala.cpp:34
Definition: Creature.h:467
bool SetDisableGravity(bool disable, bool packetOnly=false)
Definition: Unit.cpp:15818
void SetFlag(uint16 index, uint32 newFlag)
Definition: Object.cpp:1199
bool IsInPhase(uint8 phase) const
Definition: EventMap.h:290
Definition: boss_svala.cpp:109
Definition: boss_svala.cpp:87
Definition: boss_svala.cpp:44
Definition: boss_svala.cpp:70
Creature *const me
Definition: CreatureAI.h:71
bool SetHover(bool enable, bool packetOnly=false)
Definition: Unit.cpp:16018
void SetFacingToObject(WorldObject const *object)
Definition: Unit.cpp:15787
virtual ObjectGuid GetGuidData(uint32 type) const override
Definition: InstanceScript.cpp:93
void Relocate(float x, float y)
Definition: Position.h:67
bool _sacrificed
Definition: boss_svala.cpp:389
Definition: boss_svala.cpp:67
Definition: boss_svala.cpp:71
Definition: boss_svala.cpp:114
Definition: utgarde_pinnacle.h:35
Definition: boss_svala.cpp:98
Definition: boss_svala.cpp:110
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45
Definition: boss_svala.cpp:113
Definition: boss_svala.cpp:97
Unit * SelectTarget(SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
Definition: UnitAI.cpp:91
Definition: boss_svala.cpp:115
Definition: boss_svala.cpp:36
uint32_t uint32
Definition: Define.h:150
Definition: boss_svala.cpp:62
Definition: boss_svala.cpp:96
void DoCast(uint32 spellId)
Definition: UnitAI.cpp:101
Definition: GameObject.h:880
void SetFacingTo(float ori)
Definition: Unit.cpp:15777
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
Definition: CreatureAI.cpp:42
float m_positionZ
Definition: Position.h:54
Definition: boss_svala.cpp:31
void ScheduleEvent(uint32 eventId, Milliseconds const &time, uint32 group=0, uint8 phase=0)
Definition: EventMap.h:123
Definition: boss_svala.cpp:104
void SetCombatMovement(bool allowMovement)
Definition: ScriptedCreature.cpp:382
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:174
Definition: GameObject.h:822
void Update(uint32 time)
Definition: EventMap.h:54
void MoveLand(uint32 id, Position const &pos)
Definition: MotionMaster.cpp:299
void Clear()
Definition: ObjectGuid.h:215
Definition: boss_svala.cpp:78
void RemoveFlag(uint16 index, uint32 oldFlag)
Definition: Object.cpp:1214
Definition: boss_svala.cpp:43
Definition: UpdateFields.h:109
Definition: boss_svala.cpp:100
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
Definition: Unit.cpp:2916
uint32 ExecuteEvent()
Definition: EventMap.cpp:46
TC_GAME_API GameObject * GetGameObject(WorldObject const &u, ObjectGuid const &guid)
Definition: ObjectAccessor.cpp:143
Definition: boss_svala.cpp:30
void DoMeleeAttackIfReady()
Definition: UnitAI.cpp:49
Definition: Position.h:27
Definition: boss_svala.cpp:37
EventMap events
Definition: ScriptedCreature.h:371
Definition: boss_svala.cpp:89
void DoCastVictim(uint32 spellId, bool triggered=false)
Definition: UnitAI.cpp:159
Definition: boss_svala.cpp:99
Definition: boss_svala.cpp:59
Definition: utgarde_pinnacle.h:49
Definition: boss_svala.cpp:26
Definition: boss_svala.cpp:102
Definition: boss_svala.cpp:88
Definition: boss_svala.cpp:63
void MoveTakeoff(uint32 id, Position const &pos)
Definition: MotionMaster.cpp:313
void StopMoving()
-------—End of Pet responses methods-------—
Definition: Unit.cpp:12743
bool UpdateEntry(uint32 entry, CreatureData const *data=nullptr)
Definition: Creature.cpp:407
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
void GetHomePosition(float &x, float &y, float &z, float &ori) const
Definition: Creature.h:672
InstanceScript *const instance
Definition: ScriptedCreature.h:340
Definition: boss_svala.cpp:27
Definition: utgarde_pinnacle.h:37