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

Function AddThreat

methods/VMangos/UnitMethods.h:2311–2320  ·  view source on GitHub ↗

* Adds threat to the [Unit] from the victim. * * * enum SpellSchoolMask * { * SPELL_SCHOOL_MASK_NONE = 0, * SPELL_SCHOOL_MASK_NORMAL = 1, * SPELL_SCHOOL_MASK_HOLY = 2, * SPELL_SCHOOL_MASK_FIRE = 4, * SPELL_SCHOOL_MASK_NATURE = 8, * SPELL_SCHOOL_MASK_FROST = 16, * SPELL_SCHOOL_MASK_SHADOW = 32,

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<float>Method · 0.80
GetSchoolMaskFunction · 0.50

Tested by

no test coverage detected