143 if (entry->TextEntry == textEntry)
190 if (sayerEntry && textEntry >= 0)
194 speaker->AI()->Talk(textEntry);
245 {5515.98f, -4903.43f, 846.30f, 4.58f},
246 {5501.94f, -4920.20f, 848.69f, 6.15f},
247 {5497.35f, -4906.49f, 850.83f, 2.76f},
248 {5518.38f, -4913.47f, 845.57f, 0.00f},
249 {5510.36f, -4921.17f, 846.33f, 0.00f},
250 {5511.31f, -4913.82f, 847.17f, 0.00f},
251 {5518.51f, -4917.56f, 845.23f, 0.00f},
252 {5514.40f, -4921.16f, 845.49f, 0.00f}
373 std::list<GameObject*> eluneLights;
375 for (std::list<GameObject*>::const_iterator itr = eluneLights.begin(); itr != eluneLights.end(); ++itr)
377 if ((*itr)->isSpawned())
380 (*itr)->SetRespawnTime(115);
419 if (gem->isSpawned())
422 gem->SetRespawnTime(90);
458 guard->DespawnOrUnsummon(4s);
466 priestess->DespawnOrUnsummon(4s);
474 priestess->DespawnOrUnsummon(4s);
490 altar->ResetDoorOrButton();
580 bool isAltar =
false;
588 escortAI->DoContinueEscort(isAltar);
@ TEMPSUMMON_TIMED_DESPAWN
@ TEMPSUMMON_CORPSE_DESPAWN
GameObject * GetClosestGameObjectWithEntry(WorldObject *source, uint32 entry, float maxSearchRange, bool spawnedOnly=true)
Creature * GetClosestCreatureWithEntry(WorldObject *source, uint32 entry, float maxSearchRange, bool alive=true)
void GetGameObjectListWithEntryInGrid(Container &container, WorldObject *source, uint32 entry, float maxSearchRange)
@ FACTION_ESCORTEE_A_NEUTRAL_PASSIVE
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
DialogueHelper(DialogueEntry const *dialogueArray)
DialogueEntry const * _dialogueArray
virtual Creature * GetSpeakerByEntry(int32)
Will be called to get a speaker, MUST be implemented if not used in instances.
void DoNextDialogueStep()
virtual void JustDidDialogueStep(int32)
Will be called when a dialogue step was done.
DialogueEntry const * _currentEntry
void DialogueUpdate(uint32 diff)
void StartNextDialogueText(int32 textEntry)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void SetFlag(GameObjectFlags flags)
static ObjectGuid GetGUID(Object const *o)
uint32 GetQuestId() const
SpellCastResult DoCast(uint32 spellId)
void SetStandState(UnitStandStateType state, uint32 animKitID=0)
void SetFaction(uint32 faction) override
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
void SetFacingToObject(WorldObject const *object, bool force=true)
TempSummon * SummonCreature(uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty)
GameObjectAI * GetAI(GameObject *go) const override
CreatureAI * GetAI(Creature *creature) const override
TC_GAME_API GameObject * GetGameObject(WorldObject const &u, ObjectGuid const &guid)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
int32 TextEntry
To be said text entry.
int32 SayerEntry
Entry of the mob who should say.
uint32 SayTimer
Time delay until next text of array is said (0 stops)
void Start(bool isActiveAttacker=true, ObjectGuid playerGUID=ObjectGuid::Empty, Quest const *quest=nullptr, bool instantRespawn=false, bool canLoopPath=false)
virtual void UpdateEscortAI(uint32 diff)
void LoadPath(uint32 pathId)
Player * GetPlayerForEscort()
void SetEscortPaused(bool on)
bool OnGossipHello(Player *) override
go_elune_fireAI(GameObject *go)
void SummonedMovementInform(Creature *summoned, uint32 type, uint32 pointId)
void OnQuestAccept(Player *player, Quest const *quest) override
ObjectGuid _guardEluneGUID
void JustDidDialogueStep(int32 entry) override
Will be called when a dialogue step was done.
ObjectGuid _secondPriestessGUID
npc_ranshallaAI(Creature *creature)
void WaypointReached(uint32 pointId, uint32) override
Creature * GetSpeakerByEntry(int32 entry) override
Will be called to get a speaker, MUST be implemented if not used in instances.
void DoChannelTorchSpell(bool isAltarWaypoint=false)
ObjectGuid _firstPriestessGUID
void DoContinueEscort(bool isAltarWaypoint=false)
ObjectGuid _voiceEluneGUID
void UpdateEscortAI(uint32 diff) override
const DialogueEntry introDialogue[]
static Position wingThicketLocations[]
void AddSC_winterspring()
static constexpr uint32 PATH_ESCORT_RANSHALLA