Initial commit
This commit is contained in:
12
api/UnitThreatSituation.lua
Normal file
12
api/UnitThreatSituation.lua
Normal file
@@ -0,0 +1,12 @@
|
||||
---@diagnostic disable: missing-return, lowercase-global
|
||||
|
||||
---@param unit unitid
|
||||
---@param name string
|
||||
---@param mobUnit unitid
|
||||
---@return mobUnit status
|
||||
---@return 0
|
||||
---@return mobUnit 1
|
||||
---@return mobUnit 2
|
||||
---@return mobUnit 3
|
||||
---Returns the general threat status of a unit. See UnitDetailedThreatSituation for details about threat values. Threat information for a pair of units is only returned if the player has threat against the NPC unit in question. (For example, no threat data is provided if the player's pet is attacking an NPC but the player himself has taken no action, even though the pet has threat against the NPC.)
|
||||
function UnitThreatSituation(unit, name, mobUnit) end
|
||||
Reference in New Issue
Block a user