219{
221 {
223 {
226
228 {
232 {
234
235
236
239 }
240 }
241 }
242 }
243 return true;
244}
Unit * GetUnit(WorldObject const &, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:199
Creature * GetCreature(WorldObject const &u, ObjectGuid const guid)
Definition: ObjectAccessor.cpp:210
virtual void AttackStart(Unit *)
Definition: UnitAI.cpp:27
Definition: Creature.h:43
std::shared_ptr< time_t > const & GetLastLeashExtensionTimePtr() const
Definition: Creature.cpp:3691
bool CanAssistTo(Unit const *u, Unit const *enemy, bool checkfaction=true) const
Definition: Creature.cpp:2491
void SetLastLeashExtensionTimePtr(std::shared_ptr< time_t > const &timer)
Definition: Creature.cpp:3698
void SetNoCallAssistance(bool val)
Definition: Creature.h:267
CreatureAI * AI() const
Definition: Creature.h:140
void CombatStart(Unit *target, bool initialAggro=true)
Definition: Unit.cpp:13629
Unit * GetVictim() const
Definition: Unit.h:853
bool IsAIEnabled
Definition: Unit.h:1962