103 for (
uint8 i = 0; i < 3; ++i)
198 for (
uint8 i = 0; i < 4; ++i)
295 switch (spellInfo->
Id)
350 if (caster->GetMap()->IsHeroic() && caster->IsInCombat())
#define RegisterSpellScript(spell_script)
@ SPELL_AURA_PERIODIC_DAMAGE
#define AuraEffectPeriodicFn(F, I, N)
@ NPC_PHANTASMAL_CLOUDSCRAPER
@ SPELL_SUMMON_MENAGERIE_2
@ SPELL_SUMMON_MENAGERIE_3
@ SPELL_EMPOWERED_ARCANE_EXPLOSION
static uint32 TeleportSpells[]
HookList< EffectPeriodicHandler > OnEffectPeriodic
void JustEngagedWith(Unit *who) override
bool _EnterEvadeMode(EvadeReason why=EVADE_REASON_OTHER)
void SetHomePosition(float x, float y, float z, float o)
void SetReactState(ReactStates st)
void DelayEvents(Milliseconds delay)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void DoMeleeAttackIfReady()
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)
virtual void AttackStart(Unit *)
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
void CastStop(uint32 except_spellid=0)
void SetControlled(bool apply, UnitState state)
void StopMoving(bool force=false)
MotionMaster * GetMotionMaster()
bool SetDisableGravity(bool disable, bool updateAnimTier=true)
bool SetCanFly(bool enable, bool packetOnly=false)
void NearTeleportTo(Position const &pos, bool casting=false)
bool HasUnitState(const uint32 f) const
void CombatStop(bool includingCast=false, bool mutualPvP=true)
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)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
bool Validate(SpellInfo const *) override
void OnPeriodic(AuraEffect const *)
PrepareAuraScript(spell_urom_frostbomb)
void RandomShuffle(C &container)
Reorder the elements of the container randomly.
#define RegisterOculusCreatureAI(ai_name)
float GetPositionZ() const
float GetOrientation() const
float GetPositionX() const
float GetPositionY() const
void DoStartNoMovement(Unit *target)
T const & DUNGEON_MODE(T const &normal5, T const &heroic10) const
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void AttackStart(Unit *who) override
std::vector< uint8 > _group
void KilledUnit(Unit *who) override
boss_urom(Creature *creature)
void EnterEvadeMode(EvadeReason why) override
void JustEngagedWith(Unit *who) override
void UpdateAI(uint32 diff) override
void SpellHit(WorldObject *, SpellInfo const *spellInfo) override
void JustDied(Unit *) override
void SetPosition(uint8 i)
void JustReachedHome() override