109 std::vector<Position> MovePosPositions =
111 { -9373.521f, -67.71767f, 69.201965f, 1.117011f },
112 { -9374.94f, -62.51654f, 69.201965f, 5.201081f },
113 { -9371.013f, -71.20811f, 69.201965f, 1.937315f },
114 { -9368.419f, -66.47543f, 69.201965f, 3.141593f },
115 { -9372.376f, -65.49946f, 69.201965f, 4.206244f },
116 { -9377.477f, -67.8297f, 69.201965f, 0.296706f }
124 if (child->GetFormation())
125 child->GetFormation()->RemoveMember(child);
132 children->SetWalk(
true);
133 children->GetMotionMaster()->MovePoint(0, MovePosPositions[i],
true, MovePosPositions[i].GetOrientation());
233 child->GetMotionMaster()->MovePath(
LISA_PATH,
false);
266 child->SearchFormation();
481 if (!mathiasObject || !vanessaObject)
486 if (!mathiasClone || !vanessaClone)
495 conversation->
Start();
523 if (!privateObjectOwner)
550 if (!privateObjectOwner)
594 if (!mathiasObject || !vanessaObject)
599 if (!mathiasClone || !vanessaClone)
608 conversation->
Start();
First const & RAND(First const &first, Second const &second, Rest const &... rest)
std::chrono::milliseconds Milliseconds
Milliseconds shorthand typedef.
@ TEMPSUMMON_MANUAL_DESPAWN
std::vector< ObjectGuid > GuidVector
@ QUEST_STATUS_INCOMPLETE
#define RegisterCreatureAI(ai_name)
#define RegisterAreaTriggerAI(ai_name)
#define RegisterSpellScript(spell_script)
Creature * GetClosestCreatureWithOptions(WorldObject *source, float maxSearchRange, FindCreatureOptions const &options)
void CloseGossipMenuFor(Player *player)
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_ANIM_REPLACEMENT_SET
#define AuraEffectRemoveFn(F, I, N, M)
NPCFlags
Non Player Character flags.
@ UNIT_NPC_FLAG_QUESTGIVER
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectApplyHandler > AfterEffectApply
Milliseconds GetLineEndTime(LocaleConstant locale, int32 lineId) const
void AddActor(int32 actorId, uint32 actorIdx, ObjectGuid const &actorGuid)
LocaleConstant GetPrivateObjectOwnerLocale() const
static Conversation * CreateConversation(uint32 conversationEntry, Unit *creator, Position const &pos, ObjectGuid privateObjectOwner, SpellInfo const *spellInfo=nullptr, bool autoStart=true)
Milliseconds const * GetLineStartTime(LocaleConstant locale, int32 lineId) const
Milliseconds GetLastLineEndTime(LocaleConstant locale) const
Creature * GetActorCreature(uint32 actorIdx) const
void GetHomePosition(float &x, float &y, float &z, float &ori) const
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
CreatureGroup * GetFormation()
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void MovePath(uint32 pathId, bool repeatable, Optional< Milliseconds > duration={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< std::pair< Milliseconds, Milliseconds > > waitTimeRangeAtPathEnd={}, Optional< float > wanderDistanceAtPathEnds={}, Optional< bool > followPathBackwardsFromEndToStart={}, bool generatePath=true)
void MoveRandom(float wanderDistance=0.0f, Optional< Milliseconds > duration={}, MovementSlot slot=MOTION_SLOT_DEFAULT)
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< float > closeEnoughDistance={})
static ObjectGuid GetGUID(Object const *o)
static Player * ToPlayer(Object *o)
static bool OnConditionChange(WorldObject *object, bool updateVisibility=true)
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
QuestStatus GetQuestStatus(uint32 quest_id) const
uint32 GetQuestId() const
void SetVirtualItem(uint32 slot, uint32 itemId, uint16 appearanceModId=0, uint16 itemVisual=0)
MotionMaster * GetMotionMaster()
void SetFacingToObject(WorldObject const *object, bool force=true)
void RemoveNpcFlag(NPCFlags flags)
void SetEmoteState(Emote emote)
uint32 GetVirtualItemId(uint32 slot) const
void SetNpcFlag(NPCFlags flags)
bool SetWalk(bool enable)
void SetFacingTo(float const ori, bool force=true)
void HandleEmoteCommand(Emote emoteId, Player *target=nullptr, Trinity::IteratorPair< int32 const * > spellVisualKitIds={}, int32 sequenceVariation=0)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
virtual void SetDisplayId(uint32 displayId, bool setNative=false)
TempSummon * SummonPersonalClone(Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, Player *privateObjectOwner=nullptr)
ObjectGuid GetPrivateObjectOwner() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
void PlayDistanceSound(uint32 soundId, Player const *target=nullptr) const
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
conversation_the_new_classington_estate()
void OnConversationUpdate(Conversation *conversation, uint32 diff) override
void OnConversationCreate(Conversation *conversation, Unit *creator) override
void OnConversationStart(Conversation *conversation) override
void OnApply(AuraEffect const *, AuraEffectHandleModes)
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
TC_GAME_API Unit * GetUnit(WorldObject const &, ObjectGuid const &guid)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
void RandomShuffle(Iterator begin, Iterator end)
Reorder the elements of the iterator range randomly.
constexpr void GetPosition(float &x, float &y) const
at_human_heritage_lions_pride_inn_basement_enter(AreaTrigger *areatrigger)
void OnUnitEnter(Unit *unit) override
static uint32 SoundPicker()
void UpdateAI(uint32 diff) override
void WaypointReached(uint32 waypointId, uint32 pathId) override
npc_cameron(Creature *creature)
void OnGameEvent(bool start, uint16 eventId) override
GuidVector _childrenGUIDs
npc_master_mathias_shaw_human_heritage_lions_pride_inn_basement(Creature *creature)
bool OnGossipSelect(Player *player, uint32 menuId, uint32 gossipListId) override
void OnQuestAccept(Player *player, Quest const *quest) override
void MovementInform(uint32 type, uint32 pointId) override
void OnQuestAccept(Player *player, Quest const *quest) override
void WaypointPathEnded(uint32, uint32 pathId) override
npc_vanessa_vancleef_human_heritage_lions_pride_inn_basement(Creature *creature)
void UpdateAI(uint32 diff) override
Position const VanessaClonePosition
TheNewClassingtonEstateData
@ CONVO_ACTOR_IDX_MATHIAS_CLASSINGTON_ESTATE
@ QUEST_THE_NEW_CLASSINGTON_ESTATE
@ CONVO_LINE_VANESSA_START_WALK
@ CONVO_ACTOR_IDX_VANESSA_CLASSINGTON_ESTATE
@ SPELL_VANESSA_STEALTH_DESPAWN
@ SPELL_VANESSA_COSMETIC_VANISH
@ PATH_VANESSA_GOLDSHIRE_BASEMENT
@ CONVO_LINE_HANDLE_CLONE_FACING
@ CONVO_THE_NEW_CLASSINGTON_ESTATE
AnUnlikelyInformantEvents
@ EVENT_MATHIAS_QUEST_CREDIT
@ EVENT_MATHIAS_CLONE_DESPAWN
@ EVENT_VANESSA_CLONE_LEAN
@ EVENT_VANESSA_STEALTH_DESPAWN
@ EVENT_VANESSA_START_WALK
@ EVENT_MATHIAS_SET_FACING
@ EVENT_VANESSA_SET_FACING
@ CONVO_ROTTEN_OLD_MEMORIES
@ QUEST_ROTTEN_OLD_MEMORIES
@ GAME_EVENT_CHILDREN_OF_GOLDSHIRE
@ GOSSIP_OPTION_WINDOW_TO_THE_PAST
@ SPELL_PLAY_ONYXIA_SCENE
@ GOSSIP_MENU_WINDOW_TO_THE_PAST
Position const VanessaStaticPosition
@ EVENT_WP_START_GOLDSHIRE
void AddSC_elwynn_forest()
@ CONVO_ACTOR_IDX_VANESSA
@ SPELL_VANESSA_CHEAP_SHOT
@ GOSSIP_OPTION_SIGNAL_INFORMANT
@ CONVO_AN_UNLIKELY_INFORMANT_HELLO
@ CONVO_LINE_VANESSA_MOVEMENT
@ CONVO_LINE_VANESSA_TELEPORT
@ SPELL_VANESSA_TELEPORT_BEHIND
@ CONVO_AN_UNLIKELY_INFORMANT
@ QUEST_AN_UNLIKELY_INFORMANT
@ GOSSIP_MENU_SIGNAL_INFORMANT
@ CONVO_ACTOR_IDX_MATHIAS
@ CONVO_LINE_MATHIAS_QUEST_CREDIT
@ DISPLAY_VANESSA_INVISIBLE
@ DISPLAY_VANESSA_VISIBLE