94 guardian->DespawnOrUnsummon(5s);
98 rift->DespawnOrUnsummon();
156 return GetCullingOfStratholmeAI<boss_infinite_corruptorAI>(creature);
std::chrono::seconds Seconds
Seconds shorthand typedef.
@ SPELL_CORRUPTION_OF_TIME_TARGET
@ SPELL_CORRUPTING_BLIGHT
@ SPELL_CORRUPTION_OF_TIME_CHANNEL
void AddSC_boss_infinite_corruptor()
@ EVENT_CORRUPTING_BLIGHT
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
virtual void EnterEvadeMode(EvadeReason why=EvadeReason::Other)
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
bool HasReactState(ReactStates state) const
void SetReactState(ReactStates st)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
virtual bool SetBossState(uint32 id, EncounterState state)
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< float > closeEnoughDistance={})
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 DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
MotionMaster * GetMotionMaster()
bool IsWithinDist2d(float x, float y, float dist) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
boss_infinite_corruptor()
CreatureAI * GetAI(Creature *creature) const override
@ DATA_INFINITE_CORRUPTOR
boss_infinite_corruptorAI(Creature *creature)
void JustDied(Unit *) override
void MovementInform(uint32 type, uint32 id) override
void SpellHitTarget(WorldObject *target, SpellInfo const *spellInfo) override
void EnterEvadeMode(EvadeReason why) override
void ExecuteEvent(uint32 eventId) override
void DoAction(int32 action) override
void JustEngagedWith(Unit *who) override