402 { 472.231f, -150.860f, 42.6573f, 3.106690f },
403 { 417.242f, -149.795f, 42.6548f, 0.191986f },
404 { 420.851f, -174.337f, 42.6655f, 0.122173f },
405 { 470.364f, -174.656f, 42.6753f, 3.595380f },
406 { 446.086f, -182.506f, 44.0852f, 1.570800f }
716 for (
uint32 i = 0; i < 3; ++i)
717 caster->
CastSpell(caster, spellsToCast[i]);
First const & RAND(First const &first, Second const &second, Rest const &... rest)
@ TEMPSUMMON_MANUAL_DESPAWN
#define INTERACTION_DISTANCE
#define RegisterSpellScript(spell_script)
@ EMOTE_ONESHOT_EXCLAMATION
@ AURA_EFFECT_HANDLE_REAL
#define SpellEffectFn(F, I, N)
#define AuraEffectApplyFn(F, I, N, M)
Position const PrisonerSpawnPos[5]
@ SPELL_DEATH_COUNT_DAMAGE
@ SPELL_DEATH_COUNT_REMOVER
@ SPELL_DEATH_COUNT_DAMAGE_H
@ SPELL_DEATH_COUNT_REMOVER_H
#define RegisterArcatrazCreatureAI(ai_name)
HookList< EffectApplyHandler > AfterEffectApply
void DoZoneInCombat(Creature *creature=nullptr)
void SetHomePosition(float x, float y, float z, float o)
void SetImmuneToPC(bool apply) override
void SetReactState(ReactStates st)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void SetImmuneToAll(bool apply) override
void Repeat(Milliseconds time)
void CancelEvent(EventId eventId)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
virtual bool SetBossState(uint32 id, EncounterState state)
Creature * GetCreature(uint32 type)
void HandleGameObject(ObjectGuid guid, bool open, GameObject *go=nullptr)
EncounterState GetBossState(uint32 id) const
GameObject * GetGameObject(uint32 type)
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={})
static ObjectGuid const Empty
HookList< EffectHandler > OnEffectHitTarget
void Summon(Creature const *summon)
void AttackStartCaster(Unit *victim, float dist)
void DoMeleeAttackIfReady()
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
MotionMaster * GetMotionMaster()
void RemoveNpcFlag(NPCFlags flags)
void SetFacingToObject(WorldObject const *object, bool force=true, uint32 movementId=EVENT_FACE)
void SetNpcFlag(NPCFlags flags)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool HasUnitState(const uint32 f) const
void HandleEmoteCommand(Emote emoteId)
void SetFacingTo(float ori, bool force=true, uint32 movementId=EVENT_FACE)
void SetStandState(UnitStandStateType state)
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
TempSummon * SummonCreature(uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty)
bool IsWithinDist(WorldObject const *obj, float dist2compare, bool is3D=true) const
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
void HandleDummy(SpellEffIndex)
PrepareSpellScript(spell_arcatraz_chaos_breath)
bool Validate(SpellInfo const *) override
static constexpr std::array< uint32, 8 > PossibleSpells
PrepareAuraScript(spell_arcatraz_death_count)
void OnApply(AuraEffect const *, AuraEffectHandleModes)
bool Validate(SpellInfo const *) override
void RandomShuffle(C &container)
Reorder the elements of the container randomly.
void GetPosition(float &x, float &y) const
InstanceScript * _instance
npc_millhouse_manastorm(Creature *creature)
void UpdateAI(uint32 diff) override
void MovementInform(uint32 type, uint32 pointId) override
void OnSpellStart(SpellInfo const *spell) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void JustEngagedWith(Unit *) override
void AttackStart(Unit *who) override
void KilledUnit(Unit *) override
void JustAppeared() override
void UpdateIntroEvents(uint32 diff)
void OnSpellCast(SpellInfo const *spell) override
void JustDied(Unit *) override
void MoveInLineOfSight(Unit *who) override
void JustSummoned(Creature *summon) override
npc_warden_mellichar(Creature *creature)
InstanceScript * _instance
void UpdateAI(uint32 diff) override
void DamageTaken(Unit *who, uint32 &damage, DamageEffectType, SpellInfo const *) override
void DoAction(int32 action) override
void JustEngagedWith(Unit *) override
void SummonedCreatureDies(Creature *summon, Unit *) override
void SpellHit(WorldObject *, SpellInfo const *spellInfo) override