Skip to content

Commit

Permalink
Merge branch 'pre-cute-commit-save-us-all'
Browse files Browse the repository at this point in the history
  • Loading branch information
BrewingCoder committed May 10, 2024
2 parents db64a74 + 8c9658c commit 5325ff0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions 3rd Party Files/NoName/_BRLoader.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ local Nn = ...
-- local write = Nn.Utils.Storage.write
-- local JSON = Nn.Utils.JSON
-- local AceGUI = Nn.Utils.AceGUI

--Only load BR if in retail 10.2.7 (UI Update); Classic/Cata Not Supported.
if select(4,GetBuildInfo()) < 100207 then return end

local toc = ReadFile('/scripts/BadRotations/BadRotations.toc')
local br = {}
br.files = {}
Expand Down Expand Up @@ -97,11 +101,7 @@ for i = 1, #br.files do
local file = br.files[i].file
local load = br.files[i].load
if load then
-- print("Loading File: /scripts/"..file)
-- Nn:Require('/scripts/'..file, br)
Nn:Require('/scripts/'..file, br)
-- else
-- print("Did not load File: /scripts/"..file)
end
end

Expand Down
2 changes: 1 addition & 1 deletion System/Functions/Combat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ function br.hasThreat(unit, playerUnit)
end
-- Player Threat Valdation
if threatSituation(playerUnit, unit) then
if br.isChecked("Cast Debug") then--and not br.GetObjectExists("target") then
if br.isChecked("Threat Debug") then
br._G.print("[Player Threat] "..br._G.UnitName(playerUnit).." has threat with "..br._G.UnitName(unit))
end
return true
Expand Down
1 change: 1 addition & 0 deletions System/Loader/cCharacter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ function br.cCharacter:new(class)
-- Base Wrap
local section_base = br.ui:createSection(br.ui.window.profile, "Base Options")
br.ui:createCheckbox(section_base, "Cast Debug", "Shows information about how the bot is casting.")
br.ui:createCheckbox(section_base, "Threat Debug", "Shows information about threat and threat changes.")
br.ui:createCheckbox(section_base, "Ignore Combat", "Checking this will make BR think it is always in combat")
br.ui:createCheckbox(section_base, "Mute Queue", "Mute messages from Smart Queue and Queue Casting")
br.ui:createDropdown(section_base, "Pause Mode", br.dropOptions.Toggle, 2, "Define a key which pauses the rotation.")
Expand Down

0 comments on commit 5325ff0

Please sign in to comment.