This commit is contained in:
2024-11-07 23:12:37 +01:00
parent a67a1d8f40
commit f7c91862a0
3089 changed files with 18209 additions and 0 deletions

View 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