31#include <G3D/Vector3.h>
35 namespace AreaTriggers
60 G3D::Vector3(-1317.3438f, 796.5417f, 7269.4243f),
61 G3D::Vector3(-1300.9236f, 780.2049f, 7265.0225f),
62 G3D::Vector3(-1279.941f, 759.81946f, 7250.053f)
67 G3D::Vector3(-1186.2604f, 668.684f, 7271.891f),
68 G3D::Vector3(-1199.6632f, 680.2934f, 7260.527f),
69 G3D::Vector3(-1209.1146f, 688.5243f, 7251.5713f)
83 static constexpr std::string_view
Guard01 =
"empyrean_domain_guard_01"sv;
84 static constexpr std::string_view
Guard02 =
"empyrean_domain_guard_02"sv;
85 static constexpr std::string_view
Guard03 =
"empyrean_domain_guard_03"sv;
86 static constexpr std::string_view
Guard04 =
"empyrean_domain_guard_04"sv;
108 std::shared_ptr<Scripting::v2::ActionResult<MovementStopReason>>
_action;
159 for (
ObjectGuid const& insideUnitGuid : areaTrigger->GetInsideUnits())
160 if (insideUnitGuid.IsPlayer())
236 init.MovebyPath(path);
239 init.SetUncompressed();
241 init.SetVelocity(17.5f);
244 std::shared_ptr<Scripting::v2::ActionResult<MovementStopReason>> waitEvent = std::make_shared<Scripting::v2::ActionResult<MovementStopReason>>();
std::vector< ObjectGuid > GuidVector
#define RegisterBattlegroundMapScript(script_name, mapId)
@ TRIGGERED_IGNORE_CAST_IN_PROGRESS
Will not check if a current cast is in progress.
@ TRIGGERED_DONT_REPORT_CAST_ERROR
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
void AddSC_arena_empyrean_domain()
bool IsStaticSpawn() const
ObjectGuid const & GetGUID() const
BattlegroundMap * battlegroundMap
PlayerMoveDownEvent(Player *player, std::shared_ptr< Scripting::v2::ActionResult< MovementStopReason > > const &action)
std::shared_ptr< Scripting::v2::ActionResult< MovementStopReason > > _action
bool Execute(uint64, uint32) override
void AddEventAtOffset(BasicEvent *event, Milliseconds offset)
Player * GetPlayer(ObjectGuid const &guid)
GameObject * GetGameObject(ObjectGuid const &guid)
AreaTrigger * GetAreaTrigger(ObjectGuid const &guid)
Creature * GetCreature(ObjectGuid const &guid)
void LaunchMoveSpline(std::function< void(Movement::MoveSplineInit &init)> &&initializer, uint32 id=0, MovementGeneratorPriority priority=MOTION_PRIORITY_NORMAL, MovementGeneratorType type=EFFECT_MOTION_TYPE, Scripting::v2::ActionResultSetter< MovementStopReason > &&scriptResult={})
static ActionResultSetter< T > GetResultSetter(std::shared_ptr< ActionResult > action)
TaskContext & Repeat(TaskScheduler::duration_t duration)
TaskScheduler & Schedule(duration_t time, task_handler_t task)
TaskScheduler & Update()
Update the scheduler to the current time.
MotionMaster * GetMotionMaster()
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static constexpr uint32 FlyDownAreaTrigger
static constexpr uint32 InvisibleStalker
static constexpr uint32 Guard
static constexpr uint32 CollisionWall
static constexpr Position Guard01Dest
static constexpr Position Guard04Dest
static const Movement::PointsArray PurplePath
static constexpr Position Guard03Dest
static const Movement::PointsArray GoldPath
static constexpr Position Guard02Dest
static constexpr uint32 WindDrift
static constexpr uint32 ArenaStartingAreaMarker
static constexpr uint32 WingsCosmetic
static constexpr uint32 BastionArenaPvpReactionTrigger
static constexpr std::string_view Guard02
static constexpr std::string_view Guard01
static constexpr std::string_view Guard03
static constexpr std::string_view Guard04
std::vector< Vector3 > PointsArray
GuidVector _flyDownAreaTriggerGUIDs
void OnUpdate(uint32 diff) override
void OnCreatureCreate(Creature *creature) override
void OnAreaTriggerCreate(AreaTrigger *areaTrigger) override
void OnGameObjectCreate(GameObject *gameobject) override
arena_empyrean_domain(BattlegroundMap *map)
static void MovePlayerDown(Player *player)
void OnPlayerJoined(Player *player, bool) override