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

Function Attack

methods/TrinityCore/UnitMethods.h:73–80  ·  view source on GitHub ↗

* The [Unit] tries to attack a given target * * @param [Unit] who : [Unit] to attack * @param bool meleeAttack = false: attack with melee or not * @return didAttack : if the [Unit] did not attack */

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