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

Function GetAITarget

methods/TrinityCore/CreatureMethods.h:653–725  ·  view source on GitHub ↗

* Returns a target from the [Creature]'s threat list based on the * supplied arguments. * * @table * @columns [SelectAggroTarget, ID, Comment] * @values [SELECT_TARGET_RANDOM, 0, "Just selects a random target"] * @values [SELECT_TARGET_TOPAGGRO, 1, "Sorts targets from top aggro to bottom"] * @values [SELECT_TARGET_BOTTOMAGGRO, 2, "Sorts targets from bottom aggro to to

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