Skip to content

Commit

Permalink
add config option to disable gouge mode (i completely forgot to add it)
Browse files Browse the repository at this point in the history
  • Loading branch information
Treeston committed Feb 20, 2022
1 parent 917bfb9 commit 286130b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion plugins/Details_TinyThreat/Details_TinyThreat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,13 @@ local build_options_panel = function()
desc = "If this is disabled, you see weighted threat percentages – aggro switches at 100%.\nIf this is enabled, you see absolute threat percentages – aggro switches at 110% in melee, and 130% at range.",
name = "Display absolute threat",
},
{
type = "toggle",
get = function() return not ThreatMeter.saveddata.disable_gouge end,
set = function(self, fixedparam, value) ThreatMeter.saveddata.disable_gouge = not value end,
desc = "If this is enabled, certain bosses will show an additional threat threshold at 90.9% of the off-tank's threat. Any player above this threshold might be targeted after the Main Tank is incapacitated.",
name = "Enable Gouge mode",
},


--[=[
Expand All @@ -764,7 +771,8 @@ local build_options_panel = function()

}

_detalhes.gump:BuildMenu (options_frame, menu, 15, -35, 360)
_detalhes.gump:BuildMenu (options_frame, menu, 15, -35, 160)
options_frame:SetHeight(160)

end

Expand Down

0 comments on commit 286130b

Please sign in to comment.