127 "AlarPlatformTrigger1",
128 "AlarPlatformTrigger2",
129 "AlarPlatformTrigger3",
130 "AlarPlatformTrigger4"
468 me->
NearTeleportTo(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), target->GetOrientation());
TC_GAME_API bool InstanceHasScript(WorldObject const *obj, char const *scriptName)
bool roll_chance(float chance, PseudoRandomDistributionState &state)
#define RegisterSpellScript(spell_script)
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
#define AuraEffectPeriodicFn(F, I, N)
#define AuraEffectApplyFn(F, I, N, M)
#define AuraEffectRemoveFn(F, I, N, M)
@ SPELL_CLEAR_ALL_DEBUFFS
@ SPELL_EMBER_BLAST_INVIS
@ SPELL_SUMMON_PHOENIX_ADDS_2
@ SPELL_ASHTONGUE_RUSE_CREDIT
@ SPELL_ASHTONGUE_RUSE_DUMMY
@ SPELL_EMBER_BLAST_DAMAGE
@ SPELL_FLAME_PATCH_PERIODIC
@ SPELL_SUMMON_FLAME_RING
@ SPELL_SUMMON_PHOENIX_ADDS_1
@ SPELL_ASHTONGUE_RUSE_MASTER
static constexpr std::array< uint32, 24 > FlameQuillsSpells
Position const AlarRessurrectionPosition
static constexpr std::array< std::string_view, 4 > AlarPlatformTrigger
static constexpr std::string_view CenterTriggerStringId
@ ACTION_FLAME_QUILLS_END
AuraApplication const * GetTargetApplication() const
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectPeriodicHandler > OnEffectPeriodic
HookList< EffectApplyHandler > AfterEffectApply
Unit * GetUnitOwner() const
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void _DespawnAtEvade(Seconds delayToRespawn=30s, Creature *who=nullptr)
void SetReactState(ReactStates st)
void SetDisplayId(uint32 displayId, bool setNative=false) override
void SetCorpseDelay(uint32 delay, bool ignoreCorpseDecayRatio=false)
void Repeat(Milliseconds time)
void RescheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void CancelEvent(EventId eventId)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void DoCastSpellOnPlayers(uint32 spell, bool includePets=false, bool includeControlled=false)
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< float > closeEnoughDistance={}, Optional< MovementFadeObject > fadeObject={}, Scripting::v2::ActionResultSetter< MovementStopReason > &&scriptResult={})
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
TaskScheduler & Schedule(duration_t time, task_handler_t task)
TaskScheduler & Update()
Update the scheduler to the current time.
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
SpellCastResult DoCast(uint32 spellId)
bool IsWithinMeleeRange(Unit const *obj) const
void SetStandState(UnitStandStateType state, uint32 animKitID=0)
void SetControlled(bool apply, UnitState state)
MotionMaster * GetMotionMaster()
bool SetHover(bool enable, bool updateAnimTier=true)
void SetUninteractible(bool apply)
uint32 GetNativeDisplayId() const
void NearTeleportTo(TeleportLocation const &target, bool casting=false)
bool HasUnitState(const uint32 f) const
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
bool SetDisableGravity(bool disable, bool updateAnimTier=true, bool updatePlayHoverAnim=true)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
Creature * FindNearestCreatureWithOptions(float range, FindCreatureOptions const &options) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
bool Validate(SpellInfo const *) override
void AfterApply(AuraEffect const *, AuraEffectHandleModes)
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
void PeriodicTick(AuraEffect const *aurEff)
bool Validate(SpellInfo const *) override
void ResetThreatList(Unit *who=nullptr)
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void JustDied(Unit *) override
boss_alar(Creature *creature)
void OnSpellCast(SpellInfo const *spell) override
void JustAppeared() override
void MovementInform(uint32 type, uint32 id) override
void UpdateAI(uint32 diff) override
void DoAction(int32 action) override
void EnterEvadeMode(EvadeReason) override
void SpellHit(WorldObject *, SpellInfo const *spellInfo) override
void JustEngagedWith(Unit *who) override
void UpdateAI(uint32 diff) override
void InitializeAI() override
void JustAppeared() override
void JustDied(Unit *) override
npc_ember_of_alar(Creature *creature)
npc_flame_patch_alar(Creature *creature)
void JustAppeared() override
void InitializeAI() override
#define RegisterTheEyeCreatureAI(ai_name)