@ UNIT_FLAG_NON_ATTACKABLE
Position const WhitemaneIntroMovePos
MograineAndWhitemaneSpells
@ SPELL_HAMMER_OF_JUSTICE
@ SPELL_SCARLET_RESURRECTION
@ SPELL_POWER_WORD_SHIELD
MograineAndWhitemaneEvents
@ EVENT_HAMMER_OF_JUSTICE
@ EVENT_POWER_WORD_SHIELD
void AddSC_boss_mograine_and_whitemane()
MograineAndWhitemanePoints
@ POINT_WHITEMANE_MOVE_TO_MOGRAINE
InstanceScript *const instance
void JustEngagedWith(Unit *who) override
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr)
void CallForHelp(float fRadius)
void SetReactState(ReactStates st)
void Repeat(Milliseconds time)
void ScheduleEvent(uint32 eventId, Milliseconds time, uint32 group=0, uint8 phase=0)
void CancelEvent(uint32 eventId)
Creature * GetCreature(uint32 type)
void HandleGameObject(ObjectGuid guid, bool open, GameObject *go=nullptr)
GameObject * GetGameObject(uint32 type)
void MoveChase(Unit *target, Optional< ChaseRange > dist={}, Optional< ChaseAngle > angle={})
void MovePoint(uint32 id, Position const &pos, bool generatePath=true, Optional< float > finalOrient={}, Optional< float > speed={}, MovementWalkRunSpeedSelectionMode speedSelectionMode=MovementWalkRunSpeedSelectionMode::Default, Optional< float > closeEnoughDistance={})
static ObjectGuid const Empty
TaskScheduler & CancelAll()
TaskScheduler & Schedule(std::chrono::duration< Rep, Period > time, task_handler_t task)
TaskScheduler & Update(success_t const &callback=nullptr)
SpellCastResult DoCastSelf(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastVictim(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCastAOE(uint32 spellId, CastSpellExtraArgs const &args={})
SpellCastResult DoCast(uint32 spellId)
void SetStandState(UnitStandStateType state, uint32 animKitID=0)
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
MotionMaster * GetMotionMaster()
void SetFacingToObject(WorldObject const *object, bool force=true)
void SetUninteractible(bool apply)
bool HasUnitState(const uint32 f) const
bool HealthBelowPctDamaged(int32 pct, uint32 damage) const
void SetUnitFlag(UnitFlags flags)
void RemoveUnitFlag(UnitFlags flags)
void MovePosition(Position &pos, float dist, float angle)
@ DATA_MOGRAINE_AND_WHITE_EVENT
@ DATA_HIGH_INQUISITORS_DOOR
#define RegisterScarletMonasteryCreatureAI(ai)
float GetRelativeAngle(float x, float y) const
constexpr void GetPosition(float &x, float &y) const
bool HealthBelowPct(uint32 pct) const
void UpdateAI(const uint32 diff) override
void JustEngagedWith(Unit *) override
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void KilledUnit(Unit *who) override
TimeTracker _killYellTimer
bool _ressurectionInProgress
void MovementInform(uint32 type, uint32 id) override
void MograineResurrected()
void SpellHitTarget(WorldObject *target, SpellInfo const *spellInfo) override
InstanceScript * _instance
boss_high_inquisitor_whitemane(Creature *creature)
void KilledUnit(Unit *who) override
void UpdateAI(uint32 diff) override
TimeTracker _killYellTimer
boss_scarlet_commander_mograine(Creature *creature)
void DamageTaken(Unit *, uint32 &damage, DamageEffectType, SpellInfo const *) override
void SpellHit(WorldObject *, SpellInfo const *spellInfo) override
void JustEngagedWith(Unit *who) override
void ExecuteEvent(uint32 eventId) override