99 door->UseDoorOrButton();
100 door->DespawnOrUnsummon(5s);
348 return bg->GetInProgressDuration() >= 15s;
std::vector< ObjectGuid > GuidVector
#define RegisterBattlegroundMapScript(script_name, mapId)
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ AURA_EFFECT_HANDLE_REAL
@ 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.
#define SpellEffectFn(F, I, N)
#define AuraEffectRemoveFn(F, I, N, M)
void AddSC_arena_enigma_crucible()
WorldObject * GetOwner() const
HookList< EffectApplyHandler > OnEffectRemove
HookList< AuraProcHandler > OnProc
ObjectGuid const & GetGUID() const
BattlegroundMap * battlegroundMap
BattlegroundMap * ToBattlegroundMap()
GameObject * GetGameObject(ObjectGuid const &guid)
Creature * GetCreature(ObjectGuid const &guid)
Unit * GetProcTarget() const
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
Player * GetHitPlayer() const
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
TaskContext & Repeat(TaskScheduler::duration_t duration)
TaskScheduler & Schedule(duration_t time, task_handler_t task)
TaskScheduler & Update()
Update the scheduler to the current time.
void NearTeleportTo(TeleportLocation const &target, bool casting=false)
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
constexpr uint32 GetMapId() const
ZoneScript * FindZoneScript() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
bool OnConditionCheck(Condition const *, ConditionSourceInfo &sourceInfo) override
condition_enigma_arena_collision_doors()
void HandleHit(SpellEffIndex) const
void HandleProc(ProcEventInfo const &eventInfo) const
bool Validate(SpellInfo const *) override
void HandleRemove(AuraEffect const *, AuraEffectHandleModes) const
void HandleTeleport(SpellEffIndex) const
static constexpr uint32 ReactionDead
static constexpr uint32 ReactionTrigger
static constexpr uint32 ZoSorg
static constexpr uint32 Door02
static constexpr uint32 Door01
static constexpr uint32 EnigmaCrucible
static constexpr Position GoldWarningTeleport
static constexpr Position PurpleWarningTeleport
static constexpr uint32 EnigmaArenaReactionTrigger
static constexpr uint32 WarningTeleport
static constexpr uint32 Warning
static constexpr uint32 ArenaLowHealthCooldownAura
static constexpr uint32 ArenaStartingAreaMarker
static constexpr uint32 EnigmaArenaVOCooldownAura
static constexpr uint8 ReactionTrigger
static constexpr uint8 Prepare
static constexpr uint8 Prepare2
static constexpr uint8 Start
Map const * mConditionMap
void OnPrepareStage2() override
void HandleReactionLowHealth(Player const *victim) const
void HandleKill(Player const *victim) const
void OnUpdate(uint32 diff) override
void OnCreatureCreate(Creature *creature) override
void OnGameObjectCreate(GameObject *gameobject) override
void OnPlayerJoined(Player *player, bool) override
void DoAction(uint32 actionId, WorldObject *source, WorldObject *target) override
arena_enigma_crucible(BattlegroundMap *map)