29#define GOSSIP_HGG1 "Hello, Greatmother. Garrosh told me that you wanted to speak with me."
30#define GOSSIP_HGG2 "Garrosh is beyond redemption, Greatmother. I fear that in helping the Mag'har, I have convinced Garrosh that he is unfit to lead."
32#define GOSSIP_SGG1 "You raised all of the orcs here, Greatmother?"
33#define GOSSIP_SGG2 "Do you believe that?"
34#define GOSSIP_SGG3 "What can be done? I have tried many different things. I have done my best to help the people of Nagrand. Each time I have approached Garrosh, he has dismissed me."
35#define GOSSIP_SGG4 "Left? How can you choose to leave?"
36#define GOSSIP_SGG5 "What is this duty?"
37#define GOSSIP_SGG6 "Is there anything I can do for you, Greatmother?"
38#define GOSSIP_SGG7 "I have done all that I could, Greatmother. I thank you for your kind words."
39#define GOSSIP_SGG8 "Greatmother, you are the mother of Durotan?"
40#define GOSSIP_SGG9 "Greatmother, I never had the honor. Durotan died long before my time, but his heroics are known to all on my world. The orcs of Azeroth reside in a place known as Durotar, named after your son. And ... (You take a moment to breathe and think through what you are about to tell the Greatmother.)"
41#define GOSSIP_SGG10 "It is my Warchief, Greatmother. The leader of my people. From my world. He ... He is the son of Durotan. He is your grandchild."
42#define GOSSIP_SGG11 "I will return to Azeroth at once, Greatmother."
52 player->PlayerTalkClass->ClearMenus();
57 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
61 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
65 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
69 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
73 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
77 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
80 player->AreaExploredOrEventHappens(10044);
81 player->CLOSE_GOSSIP_MENU();
85 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
89 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
93 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
97 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
101 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
104 player->AreaExploredOrEventHappens(10172);
105 player->CLOSE_GOSSIP_MENU();
113 if (creature->IsQuestGiver())
114 player->PrepareQuestMenu(creature->GetGUID());
119 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
124 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
127 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
175 creature->setFaction(232);
177 pEscortAI->Start(
true,
false, player->GetGUID(), quest);
244 if (summoned->IsTotem())
247 summoned->SetWalk(
false);
248 summoned->GetMotionMaster()->MovePoint(0,
me->GetPositionX(),
me->GetPositionY(),
me->GetPositionZ());
249 summoned->AI()->AttackStart(
me);
266 if (!
me->GetVictim())
332 uint32 creditMarkerId =
me->GetEntry();
333 if (creditMarkerId >= 18840 && creditMarkerId <= 18843)
381 corki->GetMotionMaster()->MovePoint(1, go->GetPositionX()+5, go->GetPositionY(), go->GetPositionZ());
391 corki->GetMotionMaster()->MovePoint(1, go->GetPositionX()-5, go->GetPositionY(), go->GetPositionZ());
401 corki->GetMotionMaster()->MovePoint(1, go->GetPositionX()+4, go->GetPositionY(), go->GetPositionZ());
439 me->DespawnOrUnsummon();
506 EscortAI->Start(
true,
false, player->GetGUID(), quest);
589 if (summoned->IsTotem())
592 summoned->SetWalk(
false);
593 summoned->GetMotionMaster()->MovePoint(0,
me->GetPositionX(),
me->GetPositionY(),
me->GetPositionZ());
594 summoned->AI()->AttackStart(
me);
669 go->UseDoorOrButton();
677 prisoner->AI()->Talk(
SAY_FREE, player);
678 prisoner->DespawnOrUnsummon(6000);
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
@ QUEST_STATUS_INCOMPLETE
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
GameObjectScript(const char *name)
void KilledMonsterCredit(uint32 entry, uint64 guid=0)
uint16 GetReqKillOrCastCurrentCount(uint32 quest_id, int32 entry)
QuestStatus GetQuestStatus(uint32 quest_id) const
void DoMeleeAttackIfReady()
void DoCast(uint32 spellId)
void DoCastVictim(uint32 spellId, bool triggered=false)
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
bool OnGossipHello(Player *player, GameObject *go) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
npc_creditmarker_visit_with_ancestors()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool OnGossipSelect(Player *player, Creature *creature, uint32, uint32 action) OVERRIDE
bool OnGossipHello(Player *player, Creature *creature) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool OnQuestAccept(Player *player, Creature *creature, const Quest *quest) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool OnQuestAccept(Player *player, Creature *creature, const Quest *quest) OVERRIDE
bool HealthBelowPct(uint32 pct) const
ScriptedAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_corkiAI(Creature *creature)
void MovementInform(uint32 type, uint32 id) OVERRIDE
npc_creditmarker_visit_with_ancestorsAI(Creature *creature)
void MoveInLineOfSight(Unit *who) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
Player * GetPlayerForEscort()
void SetRun(bool on=true)
bool HasEscortState(uint32 escortState) const
npc_escortAI(Creature *creature)
void JustDied(Unit *) OVERRIDE
void SpellHitTarget(Unit *, const SpellInfo *spell) OVERRIDE
void JustSummoned(Creature *summoned) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
void WaypointReached(uint32 waypointId) OVERRIDE
uint32 ChainLightningTimer
npc_kurenai_captiveAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
uint32 m_uiFrostShockTimer
void UpdateAI(uint32 uiDiff) OVERRIDE
== Triggered Actions Requested ==================
void SpellHitTarget(Unit *, const SpellInfo *pSpell) OVERRIDE
void EnterCombat(Unit *) OVERRIDE
uint32 m_uiChainLightningTimer
void JustSummoned(Creature *summoned) OVERRIDE
npc_maghar_captiveAI(Creature *creature)
void WaypointReached(uint32 waypointId) OVERRIDE
@ QUEST_FINDING_THE_SURVIVORS
@ SPELL_KUR_EARTHBIND_TOTEM
@ SPELL_KUR_CHAIN_LIGHTNING
static float kurenaiAmbushA[]
static float m_afAmbushB[]
@ QUEST_CORKIS_GONE_MISSING_AGAIN
@ QUEST_CHOWAR_THE_PILLAGER
static float m_afAmbushA[]
static float kurenaiAmbushB[]