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

Function CanAssistTo

methods/AzerothCore/CreatureMethods.h:93–101  ·  view source on GitHub ↗

* Returns `true` if the [Creature] can assist `friend` in combat against `enemy`, * and returns `false` otherwise. * * @param [Unit] friend : the Unit we will be assisting * @param [Unit] enemy : the Unit that we would attack if we assist `friend` * @param bool checkFaction = true : if `true`, the [Creature] must be the same faction as `friend` to assist * @return b

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

CHECKOBJ<Unit>Method · 0.80
CHECKVAL<bool>Method · 0.80
PushMethod · 0.45

Tested by

no test coverage detected