/
## Author: Brimm |
## SavedVariables: MyThreatDB |
## SavedVariablesPerCharacter: MyThreatDBPC |
## Version: 1.6 |
## Version: 1.6.1 |
## X-Category: Interface Enhancements |
## OptionalDeps: Ace3 |
local MYTHREAT_VERSION = '1.6'; |
local MYTHREAT_VERSION = '1.6.1'; |
local MYTHREAT_ADJUST_VALUE = -410065408; |
local options = { |
for i = 1, 40, 1 do |
name, _, _, _, _, _, _, _, _, role, _ = GetRaidRosterInfo(i); |
local name, _, _, _, _, _, _, _, _, role, _ = GetRaidRosterInfo(i); |
if (name ~= nil and role == "MAINTANK") then |
r = 0.4; |
g = 0.8; |
b = 0.95; |
hidden = false; |
threatText = "(" .. threatText .. ")"; |
relativeThreatText = "(" .. relativeThreatText .. ")"; |
if (currentTankName ~= nil) then |
playerThreat, _, adjusted = MyThreat:GetThreat("player", "target"); |
local playerThreat, _, adjusted = MyThreat:GetThreat("player", "target"); |
if (playerThreat ~= nil) then |
if (currentTrailing ~= nil) then |
playerThreat, _, adjusted = MyThreat:GetThreat("player", "target"); |
local playerThreat, _, adjusted = MyThreat:GetThreat("player", "target"); |
if (playerThreat ~= nil) then |
if (currentLowestFocus ~= nil) then |
playerThreat, _, adjusted = MyThreat:GetThreat("player", "target"); |
local playerThreat, _, adjusted = MyThreat:GetThreat("player", "target"); |
if (playerThreat ~= nil) then |