42 if (
me->FindNearestCreature(37969, 30.0f,
true))
43 me->GetMotionMaster()->MovePoint(1, -1553.0f, -5297.35f, 9.1979f);
57 me->SendPlaySound(21370,
false);
67 me->MonsterSay(
"I know dis is prolly busy work, but I don't mind. Dese baby raptors are cute lil devils.",
Language::LANG_UNIVERSAL,
me);
68 me->SendPlaySound(21371,
false);
89 if (quest->GetQuestId() == 24643 || quest->GetQuestId() == 24755 ||
90 quest->GetQuestId() == 24763 || quest->GetQuestId() == 24769 ||
91 quest->GetQuestId() == 24775 || quest->GetQuestId() == 24781 ||
92 quest->GetQuestId() == 24787 || quest->GetQuestId() == 31163)
94 creature->GetMotionMaster()->MovePoint(0, creature->GetHomePosition());
141 if (
Creature* voljinVision =
me->FindNearestCreature(38953, 15.0f))
142 voljinVision->DespawnOrUnsummon(1000);
143 if (
Creature* garroshVision =
me->FindNearestCreature(38938, 15.0f))
144 garroshVision->DespawnOrUnsummon(1000);
148 me->SendPlaySound(20097,
false);
156 garroshVision->MonsterSay(
"Don't talk back to me, troll. You know who was left in charge here. Haven't you stopped to ask yourself why Thrall chose me instead of you?",
Language::LANG_UNIVERSAL, garroshVision);
157 me->SendPlaySound(20508,
false);
166 voljinVision->MonsterSay(
"Dere be no question why, Garrosh. He gave ya tha title because ya be Grom's son and because tha people be wantin' a war hero.",
Language::LANG_UNIVERSAL, voljinVision);
167 me->SendPlaySound(20098,
false);
174 if (
Creature* voljinVision =
me->FindNearestCreature(38953, 15.0f))
176 voljinVision->MonsterSay(
"I think ya be even more like ya father den ya thought, even witout da demon blood.",
Language::LANG_UNIVERSAL, voljinVision);
177 me->SendPlaySound(20099,
false);
185 if (
Creature* garroshVision =
me->FindNearestCreature(38938, 15.0f))
187 garroshVision->MonsterSay(
"You are lucky that i don't gut you right here, whelp. You are foolish to think that you can speak to your Warchief in such ways.",
Language::LANG_UNIVERSAL, garroshVision);
188 me->SendPlaySound(20512,
false);
196 if (
Creature* voljinVision =
me->FindNearestCreature(38953, 15.0f))
198 voljinVision->MonsterSay(
"Ya be no Warchief of mine. Ya not earned my respect and I'll not be seein' tha Horde destroyed by ya foolish thirst for War.",
Language::LANG_UNIVERSAL, voljinVision);
199 me->SendPlaySound(20100,
false);
206 if (
Creature* garroshVision =
me->FindNearestCreature(38938, 15.0f))
208 garroshVision->MonsterSay(
"And what exactly do you think that you are going to do about it? Your threats are hollow. Go slink away with the rest of your kind to the slums, I will endure your filth in my throne room no longer.",
Language::LANG_UNIVERSAL, garroshVision);
209 me->SendPlaySound(20509,
false);
217 if (
Creature* voljinVision =
me->FindNearestCreature(38953, 15.0f))
219 voljinVision->MonsterSay(
"I know exactly what I'll be doin' about it, son of Hellscream. I'll watch and wait as ya people slowly become aware of ya ineptitude. I'll laugh as dey grow ta despise ya as I do.",
Language::LANG_UNIVERSAL, voljinVision);
220 me->SendPlaySound(20101,
false);
228 if (
Creature* voljinVision =
me->FindNearestCreature(38953, 15.0f))
230 voljinVision->MonsterSay(
"And when tha time commes dat ya failure is complete and ya \"power\" is meaningless, I will be dere to end ya rule swiftly and silently.",
Language::LANG_UNIVERSAL, voljinVision);
231 me->SendPlaySound(20102,
false);
238 if (
Creature* voljinVision =
me->FindNearestCreature(38953, 15.0f))
240 voljinVision->MonsterSay(
"Ya will spend ya reign glancin' over ya shoulda and fearin' tha shadows, for when tha time comes and ya blood be slowly drainin' out, ya will know exactly who fired tha arrow dat pierced ya black heart.",
Language::LANG_UNIVERSAL, voljinVision);
241 me->SendPlaySound(20103,
false);
248 if (
Creature* garroshVision =
me->FindNearestCreature(38938, 15.0f))
251 me->SendPlaySound(20510,
false);
258 if (
Creature* voljinVision =
me->FindNearestCreature(38953, 15.0f))
261 me->SendPlaySound(20104,
false);
269 if (
Creature* voljinVision =
me->FindNearestCreature(38953, 15.0f))
270 voljinVision->DespawnOrUnsummon(1000);
271 if (
Creature* garroshVision =
me->FindNearestCreature(38938, 15.0f))
272 garroshVision->DespawnOrUnsummon(1000);
274 me->MonsterSay(
"The Darkspear are 'ere because I led dem here. Orgrimmar be no home as long as it be under Hellscream's hand.",
Language::LANG_UNIVERSAL,
me);
275 me->SendPlaySound(20105,
false);
281 me->MonsterSay(
"Still. I fear I was lettin' my temper drive me ta bein'rash. Threall devoted himself to makin' the Horde what it is, so I've no eagerness to be leavin' it on a whim. Dis will be needin' much more thought.",
Language::LANG_UNIVERSAL,
me);
282 me->SendPlaySound(20106,
false);
288 me->MonsterSay(
"But dese be worries for older minds. Ya still have much to learn. Go help tha people of tha Darkspear. I am sure we'll be speakin' again real soon.",
Language::LANG_UNIVERSAL,
me);
289 me->SendPlaySound(20107,
false);
403 me->SendPlaySound(21367,
true);
404 me->DespawnOrUnsummon(10000);
426 creature->MonsterSay(
"$n. Zuni. Ya'll find ya trainer in the trainin' grounds to the east. Bring pride to the Darkspear.",
Language::LANG_UNIVERSAL, player);
431 zuni->SendPlaySound(21366,
true);
512 if (
GameObject* cage =
me->FindNearestGameObject(201968, 5.0f))
513 cage->UseDoorOrButton(120);
515 if (
Creature* monk =
me->FindNearestCreature(63310, 25.0f))
517 if (
Creature* Naga =
me->FindNearestCreature(38142, 5.0f))
519 Naga->setFaction(14);
522 Naga->GetMotionMaster()->MovePoint(0,
NagaPos2);
528 if (
Creature* Naga2 =
me->FindNearestCreature(38142, 5.0f))
530 Naga2->setFaction(14);
533 Naga2->GetMotionMaster()->MovePoint(0,
NagaPos);
543 me->GetMotionMaster()->MovePoint(1,
me->GetHomePosition());
556 player->PlayerTalkClass->ClearMenus();
559 player->CLOSE_GOSSIP_MENU();
568 const char* text = player->getGender() ==
GENDER_MALE ?
"Get in the pit and show us your stuff, boy." :
"Get in the pit and show us your stuff, girl.";
570 player->KilledMonsterCredit(39062);
579 player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
646 me->RemoveAllAuras();
648 me->GetMotionMaster()->MovePoint(1, Lumberpile->GetPositionX()-1, Lumberpile->GetPositionY(), Lumberpile->GetPositionZ());
766 if (!
me->FindNearestCreature(39236, 5.0f))
769 me->CastSpell(
me->GetVictim(), 73672);
776 if (
Creature* totem =
me->FindNearestCreature(39236, 5.0f))
777 totem->GetOwner()->ToPlayer()->KilledMonsterCredit(39236);
828 me->setRegeneratingHealth(
false);
829 me->SetHealth(
me->CountPctFromMaxHealth(10));
840 me->GetMotionMaster()->MoveFollow(player, 0.f, 0.f);
841 player->KilledMonsterCredit(
me->GetEntry());
847 player->PlayerTalkClass->SendQuestGiverQuestDetails(quest,
me->GetGUID(),
true);
848 player->AddQuest(quest, NULL);
877 me->GetMotionMaster()->MovementExpired(
true);
const T & RAND(const T &v1, const T &v2)
@ TEMPSUMMON_TIMED_DESPAWN
@ QUEST_STATUS_INCOMPLETE
#define RegisterCreatureAI(ai_name)
#define RegisterSpellScript(spell_script)
@ EMOTE_ONESHOT_WORK_CHOPWOOD
@ EMOTE_ONESHOT_USE_STANDING
#define SpellEffectFn(F, I, N)
@ UNIT_NPC_FLAG_QUESTGIVER
@ UNIT_NPC_FLAG_SPELLCLICK
@ UNIT_FLAG_NOT_SELECTABLE
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
void KilledMonsterCredit(uint32 entry, uint64 guid=0)
QuestStatus GetQuestStatus(uint32 quest_id) const
HookList< EffectHandler > OnEffectHitTarget
SpellScriptLoader(const char *name)
void DoMeleeAttackIfReady()
void DoCast(uint32 spellId)
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
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
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool OnQuestAccept(Player *player, Creature *creature, Quest const *) OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
bool OnQuestReward(Player *, Creature *creature, Quest const *quest, uint32) OVERRIDE
npc_voljin_darkspear_hold()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
void HandleDummy(SpellEffIndex)
PrepareSpellScript(spell_injured_razor_hill_grunt_cancel_feign_death)
void HandleDummy(SpellEffIndex)
PrepareSpellScript(spell_voodoo_SpellScript)
bool Validate(SpellInfo const *) OVERRIDE
SpellScript * GetSpellScript() const OVERRIDE
ScriptedAI(Creature *creature)
npc_clattering_scorpidAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void EnterCombat(Unit *) OVERRIDE
void MovementInform(uint32 type, uint32 id) OVERRIDE
npc_darkspear_jailorAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void OnSpellClick(Unit *clicker, bool &) OVERRIDE
npc_injured_razor_hill_grunt(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_jinthalaAI(Creature *creature)
void SpellHit(Unit *caster, const SpellInfo *spell) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_lazy_peonAI(Creature *creature)
void MovementInform(uint32, uint32 id) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void MovementInform(uint32 type, uint32 id) OVERRIDE
npc_voljin_darkspear_holdAI(Creature *creature)
void MovementInform(uint32 type, uint32 id) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_zuniAI(Creature *creature)
npc_zuni_bridgeAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void MovementInform(uint32 type, uint32 id) OVERRIDE
Position const ZuniMovePos1
Position const ZuniMovePos4
Position const ZuniMovePos2
Position const ZuniMovePos5
NpcInjuredRazorHillGruntUtilities
Position DarkSpearJailorPos
Position const ZuniMovePos3
Position const ZuniStartPos
Position DarkSpearJailorPos2