125 if (orphanOut->GetCaster() && orphanOut->GetCaster()->GetEntry() == orphan)
126 return orphanOut->GetCaster()->GetGUID();
154 if (!
phase && who && who->GetDistance2d(
me) < 10.0f)
175 if (!orphan || !player)
252 if (!
phase && who && who->GetDistance2d(
me) < 10.0f)
273 if (!orphan || !player)
353 if (!
phase && who && who->GetDistance2d(
me) < 10.0f)
374 if (!orphan || !player)
439 if (!
phase && who && who->GetDistance2d(
me) < 10.0f)
460 if (!orphan || !player)
527 if (!
phase && who && who->GetDistance2d(
me) < 10.0f)
548 if (!player || !orphan)
615 if (!
phase && who && who->GetDistance2d(
me) < 10.0f)
636 if (!orphan || !player)
715 me->SetOrientation(1.6049f);
718 me->SetOrientation(
me->GetHomePosition().GetOrientation());
727 if (!
phase && who && who->GetDistance2d(
me) < 10.0f)
757 if (!orphan || !player)
782 me->SetFacingToObject(orphan);
791 me->SetOrientation(
me->GetHomePosition().GetOrientation());
921 if (who &&
me->GetDistance2d(who) < 20.0f)
927 switch (
me->GetEntry())
962 if (
Creature* samuro =
me->FindNearestCreature(25151, 20.0f))
965 switch (std::rand() % 5 + 1)
983 samuro->HandleEmoteCommand(emote);
989 player->AreaExploredOrEventHappens(questId);
1018 if (who && who->GetDistance2d(
me) < 10.0f)
@ QUEST_STATUS_INCOMPLETE
uint64 getOrphanGUID(Player *player, uint32 orphan)
@ QUEST_CALL_ON_THE_FARSEER
@ QUEST_THE_DRAGON_QUEEN_ORACLE
@ QUEST_MEETING_A_GREAT_ONE
@ QUEST_VISIT_THE_THRONE_OF_ELEMENTS
@ QUEST_THE_MIGHTY_HEMET_NESINGWARY
@ QUEST_HCHUU_AND_THE_MUSHROOM_PEOPLE
@ QUEST_JHEEL_IS_AT_AERIS_LANDING
@ QUEST_THE_SEAT_OF_THE_NARUU
@ QUEST_HOME_OF_THE_BEAR_MEN
@ QUEST_BOUGHT_OF_ETERNALS
@ QUEST_TIME_TO_VISIT_THE_CAVERNS_H
@ QUEST_DOWN_AT_THE_DOCKS
@ QUEST_AUCHINDOUN_AND_THE_RING
@ QUEST_THE_DRAGON_QUEEN_WOLVAR
@ QUEST_THE_BIGGEST_TREE_EVER
@ QUEST_LORDAERON_THRONE_ROOM
@ QUEST_NOW_WHEN_I_GROW_UP
@ QUEST_THE_BRONZE_DRAGONSHRINE_ORACLE
@ QUEST_GATEWAY_TO_THE_FRONTIER
@ QUEST_TIME_TO_VISIT_THE_CAVERNS_A
@ QUEST_THE_BRONZE_DRAGONSHRINE_WOLVAR
@ QUEST_SPOOKY_LIGHTHOUSE
@ NPC_CAVERNS_OF_TIME_CW_TRIGGER
@ NPC_EXODAR_02_CW_TRIGGER
@ NPC_EXODAR_01_CW_TRIGGER
@ NPC_SPOREGGAR_CW_TRIGGER
@ AT_LORDAERON_THRONE_ROOM
@ NPC_AERIS_LANDING_CW_TRIGGER
@ NPC_SILVERMOON_01_CW_TRIGGER
@ NPC_AUCHINDOUN_CW_TRIGGER
@ NPC_THRONE_OF_ELEMENTS_CW_TRIGGER
@ AT_GATEWAY_TO_THE_FRONTIER
void AddSC_event_childrens_week()
@ TEXT_SNOWFALL_GLADE_PLAYMATE_2
@ TEXT_WINTERFIN_PLAYMATE_1
@ TEXT_WINTERFIN_PLAYMATE_2
@ TEXT_SNOWFALL_GLADE_PLAYMATE_1
AreaTriggerScript(const char *name)
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
CreatureScript(const char *name)
void MoveFollow(Unit *target, float dist, float angle, MovementSlot slot=MOTION_SLOT_ACTIVE)
void MovePoint(uint32 id, Position const &pos, bool generatePath=true)
static Creature * GetCreature(WorldObject const &u, uint64 guid)
static Player * GetPlayer(WorldObject const &, uint64 guid)
void GroupEventHappens(uint32 questId, WorldObject const *pEventObject)
void AreaExploredOrEventHappens(uint32 questId)
QuestStatus GetQuestStatus(uint32 quest_id) const
void DoCast(uint32 spellId)
Aura * GetAura(uint32 spellId, uint64 casterGUID=0, uint64 itemCasterGUID=0, uint32 reqEffMask=0) const
MotionMaster * GetMotionMaster()
void SetFacingToObject(WorldObject *object)
bool HasAura(uint32 spellId, uint64 casterGUID=0, uint64 itemCasterGUID=0, uint32 reqEffMask=0) const
static Creature * GetCreature(WorldObject &object, uint64 guid)
bool OnTrigger(Player *player, AreaTriggerEntry const *trigger)
at_bring_your_orphan_to()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
npc_alexstraza_the_lifebinder()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
npc_grizzlemaw_cw_trigger()
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
npc_high_oracle_soo_roo()
npc_snowfall_glade_playmate()
CreatureAI * GetAI(Creature *pCreature) const
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
CreatureAI * GetAI(Creature *creature) const OVERRIDE
ScriptedAI(Creature *creature)
void SetData(uint32 type, uint32 data) OVERRIDE
void MoveInLineOfSight(Unit *who) OVERRIDE
npc_alexstraza_the_lifebinderAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void MoveInLineOfSight(Unit *who) OVERRIDE
npc_cw_area_triggerAI(Creature *creature)
void MoveInLineOfSight(Unit *who) OVERRIDE
npc_elder_kekekAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_grizzlemaw_cw_triggerAI(Creature *creature)
void MoveInLineOfSight(Unit *who) OVERRIDE
npc_high_oracle_soo_rooAI(Creature *creature)
void MoveInLineOfSight(Unit *who) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void MoveInLineOfSight(Unit *who) OVERRIDE
npc_snowfall_glade_playmateAI(Creature *creature)
npc_the_biggest_treeAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
void MoveInLineOfSight(Unit *who) OVERRIDE
void MoveInLineOfSight(Unit *who) OVERRIDE
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_the_etymidianAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================
npc_winterfin_playmateAI(Creature *creature)
void MoveInLineOfSight(Unit *who) OVERRIDE