58#define SPELL_ARCANE_POWER DUNGEON_MODE<uint32>(54160,H_SPELL_ARCANE_POWER)
59#define SPELL_POWER_BALL_DAMAGE_TRIGGER DUNGEON_MODE<uint32>(54207,59476)
153 std::list<uint8> summonSpells = { 0, 1, 2 };
157 summonSpells.remove(spell);
217 if (me->IsWithinDist(xevozz, 3.0f))
219 DoCastAOE(SPELL_ARCANE_POWER);
220 me->DespawnOrUnsummon(8s);
std::chrono::seconds Seconds
Seconds shorthand typedef.
std::chrono::milliseconds Milliseconds
Milliseconds shorthand typedef.
#define RegisterSpellScript(spell_script)
#define SpellEffectFn(F, I, N)
@ SAY_ETHEREAL_SPHERE_SUMMON
#define SPELL_ARCANE_POWER
@ SPELL_POWER_BALL_VISUAL
@ SPELL_ARCANE_BARRAGE_VOLLEY
@ SPELL_SUMMON_TARGET_VISUAL
@ NPC_ETHEREAL_SUMMON_TARGET
static uint32 const EtherealSphereCount
#define SPELL_POWER_BALL_DAMAGE_TRIGGER
static uint32 const EtherealSphereSummonSpells[EtherealSphereCount]
static uint32 const EtherealSphereHeroicSummonSpells[EtherealSphereCount]
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void JustSummoned(Creature *summon) override
void JustReachedHome() override
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
Creature * GetCreature(uint32 type)
void MoveFollow(Unit *target, float dist, ChaseAngle angle, Optional< Milliseconds > duration={}, MovementSlot slot=MOTION_SLOT_ACTIVE)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
void DoAction(int32 info, Predicate &&predicate, uint16 max=0)
TaskContext & Schedule(std::chrono::duration< Rep, Period > time, TaskScheduler::task_handler_t task)
TaskContext & Repeat(std::chrono::duration< Rep, Period > duration)
TaskScheduler & CancelAll()
TaskScheduler & Schedule(std::chrono::duration< Rep, Period > time, task_handler_t task)
TaskScheduler & Update(success_t const &callback=nullptr)
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()
InstanceScript * GetInstanceScript() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
virtual void SetData(uint32, uint32)
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) override
auto SelectRandomContainerElement(C const &container) -> typename std::add_const< decltype(*std::begin(container))>::type &
void JustSummoned(Creature *summon) override
void JustReachedHome() override
void UpdateAI(uint32 diff) override
void JustDied(Unit *) override
void SpellHit(WorldObject *, SpellInfo const *spellInfo) override
boss_xevozz(Creature *creature)
void KilledUnit(Unit *victim) override
void JustEngagedWith(Unit *who) override
void ScheduleTasks() override
void UpdateAI(uint32 diff) override
npc_ethereal_sphere(Creature *creature)
InstanceScript * instance
void DoAction(int32 action) override
#define RegisterVioletHoldCreatureAI(ai_name)