MCPcopy Create free account
hub / github.com/ElunaLuaEngine/Eluna / GetAITarget

Function GetAITarget

methods/CMangos/CreatureMethods.h:562–640  ·  view source on GitHub ↗

* Returns a target from the [Creature]'s threat list based on the * supplied arguments. * * enum SelectAggroTarget * { * SELECT_TARGET_RANDOM = 0, //Just selects a random target * SELECT_TARGET_TOPAGGRO, //Selects targets from top aggro to bottom * SELECT_TARGET_BOTTOMAGGRO, //Selects targets from bottom aggro to top * S

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

CHECKVAL<bool>Method · 0.80
CHECKVAL<float>Method · 0.80
PushMethod · 0.45

Tested by

no test coverage detected