WA发布 发表于 2023-6-12 09:51:38

Threat Situation (UnitDetailedThreatSituation)

Generates a detailed threat overview based on UnitDetailedThreatSituation.

The following trigger events are used: PLAYER_REGEN_DISABLED, PLAYER_REGEN_ENABLED, UNIT_THREAT_LIST_UPDATE:target, UNIT_THREAT_SITUATION_UPDATE:target, PLAYER_TARGET_CHANGED

The bar icons are:
* Stealth icon: unit has less than 100% threat for mobUnit
* Defiance icon: unit has higher than 100% threat for mobUnit (aggro), but isn't the primary target (tanking)
* Defensive Stance icon: unit is the primary target (tanking) for mobUnit

The symbol of the player entry is glowing.

The bar colors are:
* Green: unit has less than 100% threat for mobUnit
* Yellow: unit has higher than 100% threat for mobUnit (aggro), but isn't the primary target (tanking)
* Orange: unit is the primary target (tanking) for mobUnit, but another unit has higher than 100% threat (aggro)
* Red: unit is the primary target (tanking) for mobUnit and no other unit has higher than 100% threat (aggro)

When the options are open, dummy data is displayed.
The number of entries can be set in options (the player is ALWAYS displayed).
The growth direction is set to "Down" by default, but can be changed as shown in the 3rd screenshot.

Tested with an English client.
Please let me know if you find any errors.
页: [1]
查看完整版本: Threat Situation (UnitDetailedThreatSituation)