97 { 238.6077f, -460.7103f, 112.5671f },
98 { 279.26f, -452.1f, 110.0f }
293 orb->DespawnOrUnsummon(1s);
300 orb->m_Events.AddEvent(
new OrbFlyEvent(orb), orb->m_Events.CalculateTime(6s));
351 palehoof->AI()->EnterEvadeMode(why);
std::chrono::seconds Seconds
Seconds shorthand typedef.
std::chrono::minutes Minutes
Minutes shorthand typedef.
@ ENCOUNTER_FRAME_DISENGAGE
@ TEMPSUMMON_CORPSE_DESPAWN
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_EFFECT_APPLY_AURA
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
@ TRIGGERED_FULL_MASK
Used when doing CastSpell with triggered == true.
#define SpellEffectFn(F, I, N)
#define AuraEffectRemoveFn(F, I, N, M)
void AddSC_boss_palehoof()
@ SUMMON_MINIBOSSES_GROUP
@ SPELL_CHAIN_LIGHTNING_H
Position const OrbPositions[2]
HookList< EffectApplyHandler > OnEffectRemove
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void JustSummoned(Creature *summon) override
void _DespawnAtEvade(Seconds delayToRespawn=30s, Creature *who=nullptr)
virtual void ScheduleTasks()
CombatStartEvent(Unit *owner)
bool Execute(uint64, uint32) override
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void SetCombatPulseDelay(uint32 delay)
void SetImmuneToPC(bool apply) override
void SetReactState(ReactStates st)
void Repeat(Milliseconds time)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void AddEvent(BasicEvent *event, Milliseconds e_time, bool set_addtime=true)
Milliseconds CalculateTime(Milliseconds t_offset) const
void SetGoState(GOState state)
void SetFlag(GameObjectFlags flags)
virtual bool SetBossState(uint32 id, EncounterState state)
Creature * GetCreature(uint32 type)
EncounterState GetBossState(uint32 id) const
void SendEncounterUnit(EncounterFrameType type, Unit const *unit, Optional< int32 > param1={}, Optional< int32 > param2={})
GameObject * GetGameObject(uint32 type)
void MoveRandom(float wanderDistance=0.0f, Optional< Milliseconds > duration={}, MovementSlot slot=MOTION_SLOT_DEFAULT)
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< float > closeEnoughDistance={})
static ObjectGuid GetGUID(Object const *o)
bool Execute(uint64, uint32) override
OrbAirPositionEvent(Creature *owner)
bool Execute(uint64, uint32) override
OrbFinalPositionEvent(Creature *owner)
bool Execute(uint64, uint32) override
OrbFlyEvent(Creature *owner)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
void SetTempSummonType(TempSummonType type)
virtual void DoAction(int32)
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)
MotionMaster * GetMotionMaster()
TempSummon * ToTempSummon()
void SetUninteractible(bool apply)
bool SetWalk(bool enable)
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={ })
void setActive(bool isActiveObject)
void SummonCreatureGroup(uint8 group, std::list< TempSummon * > *list=nullptr)
WormAttackEvent(TempSummon *owner)
bool Execute(uint64, uint32) override
void HandleDummy(SpellEffIndex)
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) override
bool Validate(SpellInfo const *) override
void HandleScriptEffect(SpellEffIndex)
void OnRemove(AuraEffect const *, AuraEffectHandleModes)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
void JustDied(Unit *) override
void EnterEvadeMode(EvadeReason why) override
PalehoofMinionsBossAI(Creature *creature, uint32 bossId)
void DoAction(int32 actionId) override
void JustEngagedWith(Unit *) override
T const & DUNGEON_MODE(T const &normal5, T const &heroic10) const
void DoPlaySoundToSet(WorldObject *source, uint32 soundId)
boss_ferocious_rhino(Creature *creature)
void ExecuteEvent(uint32 eventId) override
void ScheduleTasks() override
void ExecuteEvent(uint32 eventId) override
void ScheduleTasks() override
boss_frenzied_worgen(Creature *creature)
void EnterEvadeMode(EvadeReason why) override
boss_massive_jormungar(Creature *creature)
void JustSummoned(Creature *summon) override
void ExecuteEvent(uint32 eventId) override
void ScheduleTasks() override
boss_palehoof(Creature *creature)
void JustSummoned(Creature *summon) override
void JustEngagedWith(Unit *who) override
void EnterEvadeMode(EvadeReason) override
void JustDied(Unit *) override
void ExecuteEvent(uint32 eventId) override
void DoAction(int32 actionId) override
void KilledUnit(Unit *who) override
boss_ravenous_furbolg(Creature *creature)
void ExecuteEvent(uint32 eventId) override
void ScheduleTasks() override
bool OnGossipHello(Player *) override
InstanceScript * instance
go_palehoof_sphere(GameObject *go)
#define RegisterUtgardePinnacleCreatureAI(ai_name)
#define RegisterUtgardePinnacleGameObjectAI(ai_name)
@ DATA_GORTOK_PALEHOOF_SPHERE