228 if (embraceTarget && embraceTarget->
IsAlive())
258 for (
uint8 i = 0; i < 2; ++i)
334 float angleOffset = 0.0f;
388 if (princeTaldaram && princeTaldaram->
IsAlive())
446 Position offset = { 0.0f, 0.0f, 5.5f, 0.0f };
#define RegisterSpellScript(spell_script)
#define SpellEffectFn(F, I, N)
#define SpellDestinationTargetSelectFn(F, I, N)
@ UNIT_FLAG_UNINTERACTIBLE
@ DATA_PRINCE_TALDARAM_PLATFORM
#define RegisterAhnKahetGameObjectAI(ai_name)
#define RegisterAhnKahetCreatureAI(ai_name)
@ SUMMON_GROUP_CONTROLLERS
@ SPELL_FLAME_SPHERE_VISUAL
@ SPELL_FLAME_SPHERE_SUMMON_1
@ SPELL_FLAME_SPHERE_SUMMON_2
@ SPELL_FLAME_SPHERE_DEATH_EFFECT
@ SPELL_FLAME_SPHERE_SUMMON_3
@ SPELL_FLAME_SPHERE_SPAWN_EFFECT
@ SPELL_CONJURE_FLAME_SPHERE
@ SPELL_FLAME_SPHERE_PERIODIC
@ SPELL_EMBRACE_OF_THE_VAMPYR
float constexpr PrinceTaldaramSphereAngleOffset
void AddSC_boss_taldaram()
@ EVENT_CONJURE_FLAME_SPHERES
float constexpr PrinceTaldaramSphereDistance
float constexpr PrinceTaldaramGroundPositionZ
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void JustSummoned(Creature *summon) override
@ EVADE_REASON_NO_HOSTILES
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
virtual void EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
void SetHomePosition(float x, float y, float z, float o)
void GetHomePosition(float &x, float &y, float &z, float &ori) const
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void DelayEvents(Milliseconds delay)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void SetGoState(GOState state)
void SetFlag(GameObjectFlags flags)
Creature * GetCreature(uint32 type)
void HandleGameObject(ObjectGuid guid, bool open, GameObject *go=nullptr)
GameObject * GetGameObject(uint32 type)
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={})
void MoveLand(uint32 id, Position const &pos, Optional< float > velocity={})
static ObjectGuid GetGUID(Object const *o)
HookList< DestinationTargetSelectHandler > OnDestinationTargetSelect
HookList< EffectHandler > OnEffectHitTarget
void DespawnEntry(uint32 entry)
bool IsThreatListEmpty(bool includeOffline=false) const
uint32 GetThreatListPlayerCount(bool includeOffline=false) const
void DoMeleeAttackIfReady()
Unit * SelectTarget(SelectTargetMethod targetType, uint32 offset=0, float dist=0.0f, bool playerOnly=false, bool withTank=true, int32 aura=0)
virtual void SetGUID(ObjectGuid const &, int32=0)
SpellCastResult DoCast(uint32 spellId)
void CastStop(uint32 except_spellid=0)
ThreatManager & GetThreatManager()
MotionMaster * GetMotionMaster()
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
bool SetDisableGravity(bool disable, bool updateAnimTier=true)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool HasUnitState(const uint32 f) const
void RemoveUnitFlag(UnitFlags flags)
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
void SummonCreatureGroup(uint8 group, std::list< TempSummon * > *list=nullptr)
virtual uint32 GetData(uint32) const
virtual void SetData(uint32, uint32)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_prince_taldaram_conjure_flame_sphere)
void HandleScript(SpellEffIndex)
void SetDest(SpellDestination &dest)
PrepareSpellScript(spell_prince_taldaram_flame_sphere_summon)
TC_GAME_API Unit * GetUnit(WorldObject const &, ObjectGuid const &guid)
float GetPositionZ() const
float GetOrientation() const
float GetAbsoluteAngle(float x, float y) const
float GetPositionX() const
float GetPositionY() const
void RelocateOffset(Position const &offset)
Unit * GetEmbraceTarget()
uint32 _initialCheckTimer
boss_prince_taldaram(Creature *creature)
ObjectGuid _embraceTargetGUID
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void KilledUnit(Unit *victim) override
uint32 _embraceTakenDamage
void UpdateAI(uint32 diff) override
void JustEngagedWith(Unit *who) override
void JustSummoned(Creature *summon) override
void JustDied(Unit *) override
ObjectGuid _flameSphereTargetGUID
go_prince_taldaram_sphere(GameObject *go)
bool OnGossipHello(Player *) override
InstanceScript * instance
void JustEngagedWith(Unit *) override
void MoveInLineOfSight(Unit *) override
ObjectGuid _flameSphereTargetGUID
npc_prince_taldaram_flame_sphere(Creature *creature)
void UpdateAI(uint32 diff) override
void SetGUID(ObjectGuid const &guid, int32) override