#include "Common.h"
#include "Define.h"
#include "TemporarySummon.h"
#include "CreatureAI.h"
#include "SpellMgr.h"
#include <functional>
#include <type_traits>
Go to the source code of this file.
#define AI_DEFAULT_COOLDOWN 5000 |
Enumerator |
---|
AICOND_AGGRO |
|
AICOND_COMBAT |
|
AICOND_DIE |
|
Definition: CreatureAIImpl.h:48
Definition: CreatureAIImpl.h:50
Definition: CreatureAIImpl.h:49
Enumerator |
---|
AITARGET_SELF |
|
AITARGET_VICTIM |
|
AITARGET_ENEMY |
|
AITARGET_ALLY |
|
AITARGET_BUFF |
|
AITARGET_DEBUFF |
|
Definition: CreatureAIImpl.h:43
Definition: CreatureAIImpl.h:40
Definition: CreatureAIImpl.h:42
Definition: CreatureAIImpl.h:41
Definition: CreatureAIImpl.h:38
Definition: CreatureAIImpl.h:39
static AISpellInfoType * AISpellInfo
Definition: UnitAI.h:250
template<typename First , typename Second , typename... Rest>
32 std::reference_wrapper<typename std::add_const<First>::type>
const pack[] = { first, second, rest... };
33 return pack[
urand(0,
sizeof...(rest) + 1)].get();
uint32 urand(uint32 min, uint32 max)
Definition: Random.cpp:45