286 for (
uint8 i = 0; i < 10; ++i)
630 for (
uint32 i = 0; i < count; ++i)
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
uint32 urand(uint32 min, uint32 max)
@ TARGET_UNIT_DEST_AREA_ENEMY
@ TARGET_UNIT_SRC_AREA_ENEMY
@ SPELL_EFFECT_APPLY_AURA
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
@ UNIT_FLAG_NON_ATTACKABLE
@ SAY_TAERAR_SUMMON_SHADES
@ SPELL_MARK_OF_NATURE_AURA
@ SPELL_SEEPING_FOG_RIGHT
@ SPELL_CORRUPTION_OF_EARTH
@ SPELL_VOLATILE_INFECTION
uint32 const TaerarShadeSpells[]
@ SPELL_SUMMON_DRUID_SPIRITS
@ SAY_YSONDRE_SUMMON_DRUIDS
@ SAY_EMERISS_CAST_CORRUPTION
void AddSC_emerald_dragons()
@ SPELL_SHADOW_BOLT_WHIRL
@ EVENT_CORRUPTION_OF_EARTH
@ EVENT_SUMMON_DRUID_SPIRITS
@ EVENT_VOLATILE_INFECTION
@ EVENT_SHADOW_BOLT_WHIRL
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void SetReactState(ReactStates st)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
bool operator()(WorldObject *object)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
bool operator()(WorldObject *object)
MarkOfNatureTargetSelector()
void MoveChase(Unit *target, Optional< ChaseRange > dist={}, Optional< ChaseAngle > angle={})
void MoveRandom(float wanderDistance=0.0f, Optional< Milliseconds > duration={}, MovementSlot slot=MOTION_SLOT_DEFAULT)
void MoveFollow(Unit *target, float dist, ChaseAngle angle, Optional< Milliseconds > duration={}, MovementSlot slot=MOTION_SLOT_ACTIVE)
LowType GetCounter() const
static Unit * ToUnit(Object *o)
static ObjectGuid GetGUID(Object const *o)
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
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)
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
MotionMaster * GetMotionMaster()
void SetUninteractible(bool apply)
bool SetWalk(bool enable)
void SetSpeedRate(UnitMoveType mtype, float rate)
bool HasUnitState(const uint32 f) const
void SetUnitFlag(UnitFlags flags)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
void RemoveUnitFlag(UnitFlags flags)
void JustEngagedWith(Unit *) override
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)
CreatureAI * GetAI(Creature *creature) const override
CreatureAI * GetAI(Creature *creature) const override
CreatureAI * GetAI(Creature *creature) const override
CreatureAI * GetAI(Creature *creature) const override
CreatureAI * GetAI(Creature *creature) const override
CreatureAI * GetAI(Creature *creature) const override
void FilterTargets(std::list< WorldObject * > &targets)
SpellScript * GetSpellScript() const override
void FilterTargets(std::list< WorldObject * > &targets)
bool Validate(SpellInfo const *) override
void HandleEffect(SpellEffIndex effIndex)
SpellScript * GetSpellScript() const override
constexpr void GetPosition(float &x, float &y) const
bool HealthAbovePct(uint32 pct) const
void JustEngagedWith(Unit *who) override
void ExecuteEvent(uint32 eventId) override
void KilledUnit(Unit *who) override
boss_emerissAI(Creature *creature)
void DamageTaken(Unit *, uint32 &, DamageEffectType, SpellInfo const *) override
void SpellHitTarget(WorldObject *target, SpellInfo const *spellInfo) override
void JustEngagedWith(Unit *who) override
void ExecuteEvent(uint32 eventId) override
boss_lethonAI(Creature *creature)
void DamageTaken(Unit *, uint32 &, DamageEffectType, SpellInfo const *) override
void SummonedCreatureDies(Creature *, Unit *) override
void UpdateAI(uint32 diff) override
boss_taerarAI(Creature *creature)
void ExecuteEvent(uint32 eventId) override
void DamageTaken(Unit *, uint32 &, DamageEffectType, SpellInfo const *) override
void JustEngagedWith(Unit *who) override
void DamageTaken(Unit *, uint32 &, DamageEffectType, SpellInfo const *) override
boss_ysondreAI(Creature *creature)
void ExecuteEvent(uint32 eventId) override
void JustEngagedWith(Unit *who) override
void UpdateAI(uint32 diff) override
void KilledUnit(Unit *who) override
void ExecuteEvent(uint32 eventId) override
emerald_dragonAI(Creature *creature)
void UpdateAI(uint32 diff) override
npc_dream_fogAI(Creature *creature)
void IsSummonedBy(WorldObject *summonerWO) override
npc_spirit_shadeAI(Creature *creature)
void MovementInform(uint32 moveType, uint32 data) override