std::chrono::milliseconds Milliseconds
Milliseconds shorthand typedef.
@ UNIT_NPC_FLAG_SPELLCLICK
virtual void EnterEvadeMode(EvadeReason why=EvadeReason::Other)
void SetCanMelee(bool canMelee, bool fleeFromMelee=false)
void StartDefaultCombatMovement(Unit *victim, Optional< float > range={}, Optional< float > angle={})
uint32 m_spells[MAX_CREATURE_SPELLS]
bool IsEngaged() const override
void SetReactState(ReactStates st)
void JustEngagedWith(Unit *) override
void UpdateAI(uint32 diff) override
CritterAI(Creature *creature, uint32 scriptId={})
static int32 Permissible(Creature const *creature)
NullCreatureAI(Creature *creature, uint32 scriptId={})
static int32 Permissible(Creature const *creature)
void RemoveDynamicFlag(uint32 flag)
static ObjectGuid GetGUID(Object const *o)
PassiveAI(Creature *creature, uint32 scriptId={})
void UpdateAI(uint32) override
void AttackStart(Unit *target) override
PossessedAI(Creature *creature, uint32 scriptId={})
void UpdateAI(uint32) override
void JustDied(Unit *) override
void IsSummonedBy(WorldObject *summoner) override
static int32 Permissible(Creature const *creature)
bool Attack(Unit *victim, bool meleeAttack)
bool HasNpcFlag(NPCFlags flags) const
uint32 HasUnitTypeMask(uint32 mask) const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
bool IsValidAttackTarget(WorldObject const *target, SpellInfo const *bySpell=nullptr) const
@ CONFIG_CREATURE_FAMILY_FLEE_DELAY