m
Move page script moved page API UnitDetailedThreatSituation to WoW:API UnitDetailedThreatSituation without leaving a redirect
(New page: {{wowapi}} __NOTOC__ <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> Returns information about a unit's standing in another unit's threa...) |
m (Move page script moved page API UnitDetailedThreatSituation to WoW:API UnitDetailedThreatSituation without leaving a redirect) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{wowapi}} | {{wowapi}} | ||
<!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> | <!-- Describe the purpose of the function, exhausting detail can be saved for a later section --> | ||
Returns detailed information about a unit's standing in another unit's threat table. New in [[Patch 3.0]]. | Returns detailed information about a unit's standing in another unit's threat table. New in [[Patch 3.0]]. | ||
| Line 19: | Line 17: | ||
=== Returns === | === Returns === | ||
<!-- List each return value, together with its type --> | <!-- List each return value, together with its type --> | ||
:;isTanking : | :;isTanking : Boolean - returns true if the unit is primary threat target of the mob (is tanking), or false otherwise. | ||
:;status : Integer - returns the [[API TYPE ThreatStatus|threat status]] for the unit on the mob, or nil if unit is not on mob's threat table. (3 = securely tanking, 2 = insecurely tanking, 1 = not tanking but higher threat than tank, 0 = not tanking and lower threat than tank) | :;status : Integer - returns the [[API TYPE ThreatStatus|threat status]] for the unit on the mob, or nil if unit is not on mob's threat table. (3 = securely tanking, 2 = insecurely tanking, 1 = not tanking but higher threat than tank, 0 = not tanking and lower threat than tank) | ||
:;threatpct : Number - returns the unit's threat on the mob as a percentage of the amount required to pull aggro, scaled according to the unit's range from the mob. At 100 the unit will pull aggro. Returns 100 if the unit is tanking and nil if the unit is not on the mob's threat list. | :;threatpct : Number - returns the unit's threat on the mob as a percentage of the amount required to pull aggro, scaled according to the unit's range from the mob. At 100 the unit will pull aggro. Returns 100 if the unit is tanking and nil if the unit is not on the mob's threat list. | ||
| Line 52: | Line 50: | ||
== See also == | == See also == | ||
* {{api|UnitThreatSituation}} | |||