193 if (!shaffar->IsInCombat())
194 shaffar->AI()->AttackStart(who);
First const & RAND(First const &first, Second const &second, Rest const &... rest)
@ TEMPSUMMON_MANUAL_DESPAWN
bool roll_chance_i(int chance)
@ UNIT_FLAG_UNINTERACTIBLE
@ SPELL_ETHEREAL_APPRENTICE_FROSTBOLT
@ EVENT_ETHEREAL_APPRENTICE_FROSTBOLT
@ EVENT_ETHEREAL_APPRENTICE_FIREBOLT
@ SPELL_ETHEREAL_APPRENTICE_FIREBOLT
@ EVENT_SUMMON_APPRENTICE
void AddSC_boss_nexusprince_shaffar()
@ SPELL_ETHEREAL_APPRENTICE
@ SPELL_ETHEREAL_BEACON_VISUAL
void JustEngagedWith(Unit *who) override
void SetImmuneToPC(bool apply) override
void SetReactState(ReactStates st)
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void Repeat(Milliseconds time)
void RescheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void MoveRandom(float wanderDistance=0.0f)
void Summon(Creature const *summon)
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 *)
bool IsWithinMeleeRange(Unit const *obj) const
MotionMaster * GetMotionMaster()
bool HasUnitState(const uint32 f) const
void SetUnitFlag(UnitFlags flags)
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)
Creature * FindNearestCreature(uint32 entry, float range, bool alive=true) const
bool IsWithinDistInMap(WorldObject const *obj, float dist2compare, bool is3D=true, bool incOwnRadius=true, bool incTargetRadius=true) const
#define RegisterManaTombsCreatureAI(ai_name)
@ DATA_NEXUSPRINCE_SHAFFAR
T const & DUNGEON_MODE(T const &normal5, T const &heroic10) const
void JustSummoned(Creature *summoned) override
boss_nexusprince_shaffar(Creature *creature)
void ExecuteEvent(uint32 eventId) override
void MoveInLineOfSight(Unit *who) override
void JustEngagedWith(Unit *who) override
void JustDied(Unit *) override
void OnSpellCast(SpellInfo const *spell) override
void KilledUnit(Unit *victim) override
void JustAppeared() override
void UpdateAI(uint32 diff) override
npc_ethereal_apprentice(Creature *creature)
void JustEngagedWith(Unit *) override
npc_ethereal_beacon(Creature *creature)
void JustAppeared() override
void JustEngagedWith(Unit *who) override
void UpdateAI(uint32 diff) override
void JustSummoned(Creature *summoned) override