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_i(int chance)
#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)
@ UNIT_FLAG_UNINTERACTIBLE
@ 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 DoZoneInCombat(Creature *creature=nullptr)
void SetDisplayId(uint32 modelId) override
void SetReactState(ReactStates st)
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={})
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
TaskScheduler & Update(success_t const &callback=EmptyCallback)
void DoMeleeAttackIfReady()
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 SetControlled(bool apply, UnitState state)
MotionMaster * GetMotionMaster()
bool SetHover(bool enable, bool updateAnimTier=true)
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
bool SetDisableGravity(bool disable, bool updateAnimTier=true)
uint32 GetNativeDisplayId() const
void NearTeleportTo(Position const &pos, bool casting=false)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool HasUnitState(const uint32 f) const
void SetStandState(UnitStandStateType state)
void SetUnitFlag(UnitFlags flags)
void RemoveUnitFlag(UnitFlags flags)
Creature * FindNearestCreatureWithOptions(float range, FindCreatureOptions const &options) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
bool Validate(SpellInfo const *) override
PrepareAuraScript(spell_alar_ashtongue_ruse_master)
void AfterApply(AuraEffect const *, AuraEffectHandleModes)
PrepareAuraScript(spell_alar_flame_quills)
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)