149 std::list<Creature*> catList;
151 for (std::list<Creature*>::const_iterator itr = catList.begin(); itr != catList.end(); ++itr)
154 (*itr)->DespawnOrUnsummon();
155 else if (!(*itr)->IsAlive())
156 (*itr)->Respawn(
true);
354 auriaya->AI()->JustSummoned(
me);
385 if (distance > 5.0f && distance <= 45.0f)
484 auriaya->AI()->JustSummoned(
me);
509 auriaya->AI()->JustSummoned(
me);
547 return !creature->IsPet();
603 essence->ModStackAmount(-1);
bool roll_chance_i(int chance)
#define RegisterSpellScript(spell_script)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_EFFECT_SCHOOL_DAMAGE
@ TARGET_UNIT_SRC_AREA_ALLY
@ TARGET_UNIT_SRC_AREA_ENEMY
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
@ UNIT_FLAG_UNINTERACTIBLE
@ SPELL_CLEAR_ALL_DEBUFFS
@ SPELL_RANDOM_AGRO_PERIODIC
@ SPELL_FERAL_ESSENCE_APPLICATION_REMOVAL
@ SPELL_SUMMON_SWARMING_GUARDIAN
@ SPELL_STRENGHT_OF_THE_PACK
@ SPELL_INSTAKILL_ARACHNOPOD
@ SPELL_ACTIVATE_DEFENDER
@ SPELL_TERRIFYING_SCREECH
@ SPELL_PERMANENT_FEIGN_DEATH
@ EVENT_ACTIVATE_DEFENDER
@ EVENT_RESPAWN_DEFENDER_3
@ EVENT_TERRIFYING_SCREECH
@ EVENT_SWARNING_GUARDIAN
@ EVENT_RESPAWN_DEFENDER_2
void AddSC_boss_auriaya()
void JustEngagedWith(Unit *who) override
CatsTargetSelector(Unit const *unit, float minDist, float maxDist)
bool operator()(Unit *unit) const
bool HasReactState(ReactStates state) const
void SetReactState(ReactStates st)
ReactStates GetReactState() const
void Repeat(Milliseconds time)
bool IsInPhase(PhaseIndex phase) const
void CancelEvent(EventId eventId)
void SetPhase(PhaseIndex phase)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
Creature * GetCreature(uint32 type)
static Creature * ToCreature(Object *o)
HookList< EffectHandler > OnEffectHitTarget
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
TaskScheduler & Schedule(std::chrono::duration< _Rep, _Period > const &time, task_handler_t const &task)
TaskScheduler & Update(success_t const &callback=EmptyCallback)
void AddThreat(Unit *target, float amount, SpellInfo const *spell=nullptr, bool ignoreModifiers=false, bool ignoreRedirects=false)
== AFFECT MY THREAT LIST ==
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)
ThreatManager & GetThreatManager()
void SetAuraStack(uint32 spellId, Unit *target, uint32 stack)
bool SetHover(bool enable, bool updateAnimTier=true)
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
bool SetDisableGravity(bool disable, bool updateAnimTier=true)
bool SetWalk(bool enable)
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint8 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
bool HasUnitState(const uint32 f) const
void SetUnitFlag(UnitFlags flags)
void RemoveUnitFlag(UnitFlags flags)
void GetCreatureListWithEntryInGrid(Container &creatureContainer, uint32 entry, float maxSearchRange=250.0f) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
float GetDistance2d(WorldObject const *obj) const
bool IsWithinLOSInMap(WorldObject const *obj, LineOfSightChecks checks=LINEOFSIGHT_ALL_CHECKS, VMAP::ModelIgnoreFlags ignoreFlags=VMAP::ModelIgnoreFlags::Nothing) const
float GetDistance(WorldObject const *obj) const
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
bool OnCheck(Player *, Unit *target) override
achievement_crazy_cat_lady()
bool OnCheck(Player *, Unit *target) override
void HandleDummyEffect(SpellEffIndex)
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_auriaya_agro_creator)
bool Validate(SpellInfo const *) override
void HandleScriptEffect(SpellEffIndex)
PrepareSpellScript(spell_auriaya_feral_essence_removal)
void HandleOnHit(SpellEffIndex)
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_auriaya_feral_rush)
void FilterTargets(std::list< WorldObject * > &targets)
PrepareSpellScript(spell_auriaya_sentinel_blast)
void FilterTargets(std::list< WorldObject * > &unitList)
PrepareSpellScript(spell_auriaya_strenght_of_the_pack)
void AttackStart(Unit *) override
void ResetThreatList(Unit *who=nullptr)
void DoPlaySoundToSet(WorldObject *source, uint32 soundId)
void DoAction(int32 action) override
void HandleCats(bool isResetting)
boss_auriaya(Creature *creature)
void KilledUnit(Unit *who) override
void UpdateAI(uint32 diff) override
void JustDied(Unit *) override
void JustEngagedWith(Unit *who) override
uint32 GetData(uint32 type) const override
void JustDied(Unit *) override
npc_feral_defender(Creature *creature)
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void UpdateAI(uint32 diff) override
InstanceScript * _instance
void JustEngagedWith(Unit *) override
InstanceScript * _instance
void JustDied(Unit *) override
void UpdateAI(uint32 diff) override
npc_sanctum_sentry(Creature *creature)
InstanceScript * _instance
void UpdateAI(uint32) override
npc_seeping_essence_stalker(Creature *creature)
void UpdateAI(uint32 diff) override
InstanceScript * _instance
npc_swarming_guardian(Creature *creature)
#define RegisterUlduarCreatureAI(ai_name)