86 float posX, posY, posZ, angle;
200 if (!shaffar->IsInCombat())
201 shaffar->AI()->AttackStart(who);
@ TEMPSUMMON_CORPSE_TIMED_DESPAWN
uint32 urand(uint32 min, uint32 max)
@ SPELL_ETHEREAL_APPRENTICE_FROSTBOLT
@ EVENT_ETHEREAL_APPRENTICE_FROSTBOLT
@ EVENT_ETHEREAL_APPRENTICE_FIREBOLT
@ SPELL_ETHEREAL_APPRENTICE_FIREBOLT
@ SPELL_ETHEREAL_APPRENTICE
@ SPELL_ETHEREAL_BEACON_VISUAL
void AddSC_boss_nexusprince_shaffar()
void JustEngagedWith(Unit *who) override
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void AttackStart(Unit *victim) override
== Triggered Actions Requested ==================
void GetHomePosition(float &x, float &y, float &z, float &ori) const
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void Summon(Creature const *summon)
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()
bool IsNonMeleeSpellCast(bool withDelayed, bool skipChanneled=false, bool skipAutorepeat=false, bool isAutoshoot=false, bool skipInstant=true) const
bool HasUnitState(const uint32 f) 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)
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
bool IsWithinDist(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 KilledUnit(Unit *victim) override
void UpdateAI(uint32 diff) override
npc_ethereal_apprentice(Creature *creature)
void JustEngagedWith(Unit *) override
npc_ethereal_beacon(Creature *creature)
void JustEngagedWith(Unit *who) override
void UpdateAI(uint32 diff) override
void JustSummoned(Creature *summoned) override
npc_yor(Creature *creature)
void UpdateAI(uint32 diff) override
void JustEngagedWith(Unit *) override