34#define GOSSIP_RALIQ "You owe Sim'salabim money. Hand them over or die!"
50 player->PlayerTalkClass->ClearMenus();
53 player->CLOSE_GOSSIP_MENU();
55 creature->AI()->AttackStart(player);
65 player->SEND_GOSSIP_MENU(9440, creature->GetGUID());
133 creature->AI()->AttackStart(player);
137 if (creature->IsQuestGiver())
138 player->PrepareQuestMenu(creature->GetGUID());
139 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
158 me->RestoreFaction();
205 player->PlayerTalkClass->ClearMenus();
207 player->GetSession()->SendListInventory(creature->GetGUID());
214 if (creature->GetEntry() == 23484)
217 if (creature->IsVendor() && (player->GetReputationRank(932) ==
REP_EXALTED) && (player->GetReputationRank(935) ==
REP_EXALTED) && (player->GetReputationRank(942) ==
REP_EXALTED))
220 player->SEND_GOSSIP_MENU(11085, creature->GetGUID());
224 player->SEND_GOSSIP_MENU(11083, creature->GetGUID());
228 if (creature->GetEntry() == 23483)
231 if (creature->IsVendor() && (player->GetReputationRank(934) ==
REP_EXALTED) && (player->GetReputationRank(935) ==
REP_EXALTED) && (player->GetReputationRank(942) ==
REP_EXALTED))
234 player->SEND_GOSSIP_MENU(11085, creature->GetGUID());
238 player->SEND_GOSSIP_MENU(11084, creature->GetGUID());
250#define GOSSIP_HZ "Take me to the Caverns of Time."
259 player->PlayerTalkClass->ClearMenus();
261 player->CastSpell(player, 37778,
false);
271 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
409 float Radius = 10.0f;
410 if (
me->IsWithinDistInMap(who, Radius))
412 Start(
false,
false, who->GetGUID());
425#define ISANAH_GOSSIP_1 "Who are the Sha'tar?"
426#define ISANAH_GOSSIP_2 "Isn't Shattrath a draenei city? Why do you allow others here?"
435 player->PlayerTalkClass->ClearMenus();
437 player->SEND_GOSSIP_MENU(9458, creature->GetGUID());
439 player->SEND_GOSSIP_MENU(9459, creature->GetGUID());
446 if (creature->IsQuestGiver())
447 player->PrepareQuestMenu(creature->GetGUID());
452 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
462#define KHADGAR_GOSSIP_1 "I've heard your name spoken only in whispers, mage. Who are you?"
463#define KHADGAR_GOSSIP_2 "Go on, please."
464#define KHADGAR_GOSSIP_3 "I see."
465#define KHADGAR_GOSSIP_4 "What did you do then?"
466#define KHADGAR_GOSSIP_5 "What happened next?"
467#define KHADGAR_GOSSIP_7 "There was something else I wanted to ask you."
476 player->PlayerTalkClass->ClearMenus();
481 player->SEND_GOSSIP_MENU(9876, creature->GetGUID());
485 player->SEND_GOSSIP_MENU(9877, creature->GetGUID());
489 player->SEND_GOSSIP_MENU(9878, creature->GetGUID());
493 player->SEND_GOSSIP_MENU(9879, creature->GetGUID());
497 player->SEND_GOSSIP_MENU(9880, creature->GetGUID());
501 player->SEND_GOSSIP_MENU(9881, creature->GetGUID());
505 player->SEND_GOSSIP_MENU(9243, creature->GetGUID());
513 if (creature->IsQuestGiver())
514 player->PrepareQuestMenu(creature->GetGUID());
519 player->SEND_GOSSIP_MENU(9243, creature->GetGUID());
@ QUEST_STATUS_INCOMPLETE
#define GOSSIP_TEXT_BROWSE_GOODS
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
virtual void EnterEvadeMode()
CreatureScript(const char *name)
void GroupEventHappens(uint32 questId, WorldObject const *pEventObject)
QuestStatus GetQuestStatus(uint32 quest_id) const
void DoMeleeAttackIfReady()
void DoCastVictim(uint32 spellId, bool triggered=false)
uint32 getFaction() const
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
bool OnGossipSelect(Player *player, Creature *creature, uint32, uint32 action) OVERRIDE
bool OnGossipSelect(Player *player, Creature *creature, uint32, uint32 action) OVERRIDE
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
bool OnGossipSelect(Player *player, Creature *creature, uint32, uint32 action) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
bool OnGossipSelect(Player *player, Creature *creature, uint32, uint32 action) OVERRIDE
npc_shattrathflaskvendors()
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
bool OnGossipSelect(Player *player, Creature *, uint32, uint32 action) OVERRIDE
ScriptedAI(Creature *creature)
Player * GetPlayerForEscort()
bool HasEscortState(uint32 escortState) const
npc_escortAI(Creature *creature)
void Start(bool isActiveAttacker=true, bool run=false, uint64 playerGUID=0, Quest const *quest=NULL, bool instantRespawn=false, bool canLoopPath=false, bool resetWaypoints=true)
npc_kservantAI(Creature *creature)
void WaypointReached(uint32 waypointId) OVERRIDE
void MoveInLineOfSight(Unit *who) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_raliq_the_drunkAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
uint32 MagneticPull_Timer
void DamageTaken(Unit *done_by, uint32 &damage) OVERRIDE
npc_salsalabimAI(Creature *creature)
void AddSC_shattrath_city()