WoWInterface SVN MyThreat

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 24 to Rev 25
    Reverse comparison

Rev 24 → Rev 25

trunk/MyThreat/MyThreat.lua
719,7 → 719,7
local r = 0;
local g = 1;
local b = 0;
local hidden = MyThread.db.profile.hideWhenSafe;
local hidden = MyThreat.db.profile.hideWhenSafe;
 
-- set the text for absolute threat diff
if (threatDiff >= 1000 or threatDiff <= -1000) then
747,15 → 747,15
if (threatDiff <= MyThreat.db.profile.red.absolute or threatDiffPercent >= MyThreat.db.profile.red.relative) then
r = 1;
g = 0;
hidden = MyThread.db.profile.red.hidden;
hidden = MyThreat.db.profile.red.hidden;
elseif (threatDiff <= MyThreat.db.profile.orange.absolute or threatDiffPercent >= MyThreat.db.profile.orange.relative) then
r = 1;
g = 0.5;
hidden = MyThread.db.profile.orange.hidden;
hidden = MyThreat.db.profile.orange.hidden;
elseif (threatDiff <= MyThreat.db.profile.yellow.absolute or threatDiffPercent >= MyThreat.db.profile.yellow.relative) then
r = 1;
g = 1;
hidden = MyThread.db.profile.yellow.hidden;
hidden = MyThreat.db.profile.yellow.hidden;
end
 
end