50 go->UseDoorOrButton();
192 shark->AI()->AttackStart(player);
282 float x = 0.0f, y = 0.0f, z = 0.0f;
358 if (stormforgedMonitor)
362 if (stormforgedEradictor)
366 if (stormforgedMonitor)
369 stormforgedMonitor->
SetWalk(
false);
376 if (stormforgedEradictor)
417 buffObject->DespawnOrUnsummon();
457 if (zoneScript->CanCaptureFlag(
at, player))
458 zoneScript->OnCaptureFlag(
at, player);
@ TEMPSUMMON_TIMED_DESPAWN
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
@ QUEST_STATUS_INCOMPLETE
#define RegisterAreaTriggerAI(ai_name)
GameObject * GetClosestGameObjectWithEntry(WorldObject *source, uint32 entry, float maxSearchRange, bool spawnedOnly=true)
@ UNIT_STATE_IGNORE_PATHFINDING
void HandleBuffAreaTrigger(Player *player)
@ QUEST_MEETING_A_GREAT_ONE
@ QUEST_THE_MAKERS_OVERLOOK
@ SPELL_UNGORO_TO_SHOLAZAR_TELEPORT
@ SPELL_SHOLAZAR_TO_UNGORO_TELEPORT
Position const stormforgedEradictorPosition
@ QUEST_SCENT_OF_LARKORWI
void AddSC_areatrigger_scripts()
@ AREATRIGGER_TALK_COOLDOWN
Position const stormforgedMonitorPosition
@ NPC_STORMFORGED_ERADICTOR
@ QUEST_THE_LONESOME_WATCHER
@ NPC_STORMFORGED_MONITOR
AreaTrigger_at_area_52_entrance()
std::map< uint32, time_t > _triggerTimes
bool OnTrigger(Player *player, AreaTriggerEntry const *trigger) override
bool OnTrigger(Player *player, AreaTriggerEntry const *) override
AreaTrigger_at_battleground_buffs()
bool OnTrigger(Player *player, AreaTriggerEntry const *trigger) override
std::map< uint32, time_t > _triggerTimes
AreaTrigger_at_brewfest()
bool OnTrigger(Player *player, AreaTriggerEntry const *) override
AreaTrigger_at_coilfang_waterfall()
ObjectGuid stormforgedMonitorGUID
AreaTrigger_at_frostgrips_hollow()
ObjectGuid stormforgedEradictorGUID
bool OnTrigger(Player *player, AreaTriggerEntry const *) override
AreaTrigger_at_legion_teleporter()
bool OnTrigger(Player *player, AreaTriggerEntry const *) override
AreaTrigger_at_nats_landing()
bool OnTrigger(Player *player, AreaTriggerEntry const *) override
bool OnTrigger(Player *player, AreaTriggerEntry const *) override
AreaTrigger_at_scent_larkorwi()
AreaTrigger_at_sholazar_waygate()
bool OnTrigger(Player *player, AreaTriggerEntry const *trigger) override
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)
static ObjectGuid GetGUID(Object const *o)
static Player * ToPlayer(Object *o)
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
bool GetQuestRewardStatus(uint32 quest_id) const
QuestStatus GetQuestStatus(uint32 quest_id) const
MotionMaster * GetMotionMaster()
Aura * AddAura(uint32 spellId, Unit *target)
void AddUnitState(uint32 f)
bool SetWalk(bool enable)
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
TempSummon * SummonCreature(uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty)
ZoneScript * GetZoneScript() const
GameObject * FindNearestGameObjectWithOptions(float range, FindGameObjectOptions const &options) const
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
constexpr float GetPositionX() const
constexpr float GetPositionY() const
constexpr float GetPositionZ() const
void OnUnitEnter(Unit *unit) override
areatrigger_action_capture_flag(AreaTrigger *areatrigger)
areatrigger_battleground_buffs(AreaTrigger *areatrigger)
void OnUnitEnter(Unit *unit) override
void OnUnitEnter(Unit *unit) override
@ NPC_KILL_CREDIT_TELEPORT_STORMWIND
@ SPELL_DUST_IN_THE_STORMWIND
areatrigger_stormwind_teleport_unit(AreaTrigger *areatrigger)