37 player->PlayerTalkClass->ClearMenus();
39 player->GetSession()->SendListInventory(creature->GetGUID());
46 if (creature->IsQuestGiver())
47 player->PrepareQuestMenu(creature->GetGUID());
49 if (creature->IsVendor() && player->GetReputationRank(589) ==
REP_EXALTED)
52 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
162 if (entry->TextEntry == textEntry)
209 if (sayerEntry && textEntry >= 0)
213 speaker->AI()->Talk(textEntry);
264 {5515.98f, -4903.43f, 846.30f, 4.58f},
265 {5501.94f, -4920.20f, 848.69f, 6.15f},
266 {5497.35f, -4906.49f, 850.83f, 2.76f},
267 {5518.38f, -4913.47f, 845.57f, 0.00f},
268 {5510.36f, -4921.17f, 846.33f, 0.00f},
269 {5511.31f, -4913.82f, 847.17f, 0.00f},
270 {5518.51f, -4917.56f, 845.23f, 0.00f},
271 {5514.40f, -4921.16f, 845.49f, 0.00f}
290 escortAI->Start(
false,
false, player->GetGUID(), quest);
326 me->InterruptNonMeleeSpells(
false);
345 me->SetFacingToObject(go);
405 std::list<GameObject*> eluneLights;
407 for (std::list<GameObject*>::const_iterator itr = eluneLights.begin(); itr != eluneLights.end(); ++itr)
409 if ((*itr)->isSpawned())
412 (*itr)->SetRespawnTime(115);
417 me->SetFacingToObject(altar);
431 me->SetFacingToObject(altar);
451 if (gem->isSpawned())
454 gem->SetRespawnTime(90);
490 guard->DespawnOrUnsummon(4000);
498 priestess->DespawnOrUnsummon(4000);
506 priestess->DespawnOrUnsummon(4000);
513 me->SetFacingToObject(player);
521 me->SetFacingToObject(altar);
522 altar->ResetDoorOrButton();
530 me->DespawnOrUnsummon(4000);
588 bool isAltar =
false;
596 escortAI->DoContinueEscort(isAltar);
@ TEMPSUMMON_CORPSE_DESPAWN
@ TEMPSUMMON_TIMED_DESPAWN
@ FACTION_ESCORT_A_NEUTRAL_PASSIVE
Creature * GetClosestCreatureWithEntry(WorldObject *source, uint32 entry, float maxSearchRange, bool alive)
GameObject * GetClosestGameObjectWithEntry(WorldObject *source, uint32 entry, float maxSearchRange)
void GetGameObjectListWithEntryInGrid(std::list< GameObject * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
#define GOSSIP_TEXT_BROWSE_GOODS
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
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)
GameObjectScript(const char *name)
void DoCast(uint32 spellId)
bool OnGossipHello(Player *, GameObject *go) OVERRIDE
bool OnQuestAccept(Player *player, Creature *creature, Quest const *quest) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool OnGossipSelect(Player *player, Creature *creature, uint32, uint32 action) OVERRIDE
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
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).
virtual void UpdateEscortAI(uint32 const diff)
Player * GetPlayerForEscort()
npc_escortAI(Creature *creature)
void SetEscortPaused(bool on)
uint64 _firstPriestessGUID
void WaypointReached(uint32 pointId) OVERRIDE
void JustDidDialogueStep(int32 entry) OVERRIDE
Will be called when a dialogue step was done.
void SummonedMovementInform(Creature *summoned, uint32 type, uint32 pointId)
void UpdateEscortAI(const uint32 diff) OVERRIDE
npc_ranshallaAI(Creature *creature)
Creature * GetSpeakerByEntry(int32 entry) OVERRIDE
Will be called to get a speaker, MUST be implemented if not used in instances.
uint64 _secondPriestessGUID
void DoChannelTorchSpell(bool isAltarWaypoint=false)
void DoContinueEscort(bool isAltarWaypoint=false)
const DialogueEntry introDialogue[]
static Position wingThicketLocations[]
void AddSC_winterspring()