AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
UnitAI.h File Reference
#include "Containers.h"
#include "Define.h"
#include "Unit.h"
#include <list>

Go to the source code of this file.

Classes

struct  DefaultTargetSelector
 
struct  SpellTargetSelector
 
struct  NonTankTargetSelector
 
struct  PowerUsersSelector
 
struct  FarthestTargetSelector
 
class  UnitAI
 
class  PlayerAI
 
class  SimpleCharmedAI
 

Enumerations

enum class  SelectTargetMethod {
  Random ,
  MaxThreat ,
  MinThreat ,
  MaxDistance ,
  MinDistance
}
 

Enumeration Type Documentation

◆ SelectTargetMethod

enum class SelectTargetMethod
strong
Enumerator
Random 
MaxThreat 
MinThreat 
MaxDistance 
MinDistance 
33{
34 Random, // just pick a random target
35 MaxThreat, // prefer targets higher in the threat list
36 MinThreat, // prefer targets lower in the threat list
37 MaxDistance, // prefer targets further from us
38 MinDistance // prefer targets closer to us
39};