Author:ptrace
Comitter:ptrace
Date:2026-08-10 00:24:43 UTC
diff --git a/README.md b/README.md
old mode 100644
new mode 100755
diff --git a/assets/circle.png b/assets/circle.png
old mode 100644
new mode 100755
Binary files a/assets/circle.png and b/assets/circle.png differ
diff --git a/assets/triangle.png b/assets/triangle.png
old mode 100644
new mode 100755
Binary files a/assets/triangle.png and b/assets/triangle.png differ
diff --git a/desc.gt b/desc.gt
old mode 100644
new mode 100755
diff --git a/nswa.toc b/nswa.toc
old mode 100644
new mode 100755
diff --git a/nswa_cursor.lua b/nswa_cursor.lua
old mode 100644
new mode 100755
diff --git a/nswa_dungeon_difficulty.lua b/nswa_dungeon_difficulty.lua
old mode 100644
new mode 100755
diff --git a/nswa_gossip.lua b/nswa_gossip.lua
old mode 100644
new mode 100755
diff --git a/nswa_group_is_full.lua b/nswa_group_is_full.lua
old mode 100644
new mode 100755
diff --git a/nswa_hello.lua b/nswa_hello.lua
old mode 100644
new mode 100755
diff --git a/nswa_hide_cringe.lua b/nswa_hide_cringe.lua
old mode 100644
new mode 100755
index 19967b5..7bd0162
--- a/nswa_hide_cringe.lua
+++ b/nswa_hide_cringe.lua
@@ -1,5 +1,17 @@
local N = nswa
local frame = CreateFrame("Frame")
-- (Patch 12.0.7) - Rogue power bar is not centered
local function rogue()
local x = 20
local y = -25
local power_bar = PersonalResourceDisplayFrame.ClassFrameContainer
power_bar:ClearAllPoints()
power_bar:SetPoint("CENTER", power_bar:GetParent(), "CENTER", x, y)
end
function N.init_hide_cringe()
@@ -36,6 +48,15 @@ function N.init_hide_cringe()
return original_ShowOverlay(self, spellID, ...)
end
-- Class related
if UnitClassBase("player") == "ROGUE" then
rogue()
frame:RegisterEvent("UPDATE_STEALTH")
frame:RegisterEvent("PLAYER_REGEN_DISABLED")
frame:RegisterEvent("PLAYER_REGEN_ENABLED")
frame:SetScript("OnEvent", function(self, event) rogue() end)
end
print("Cringe Removed!")
end
diff --git a/nswa_load.lua b/nswa_load.lua
old mode 100644
new mode 100755
index ecd7f42..7be7c7b
--- a/nswa_load.lua
+++ b/nswa_load.lua
@@ -3,6 +3,7 @@ local N = nswa
local frame = CreateFrame("Frame")
frame:RegisterEvent("ADDON_LOADED")
frame:RegisterEvent("PLAYER_LOGIN")
frame:SetScript("OnEvent", function(self, event, arg1)
@@ -16,6 +17,7 @@ frame:SetScript("OnEvent", function(self, event, arg1)
activity_state.pos = activity_state.pos or {}
print("NSWA - Debug: Hii!")
elseif event == "PLAYER_LOGIN" then
N.main()
end
end)
diff --git a/nswa_main.lua b/nswa_main.lua
old mode 100644
new mode 100755
index a5a9996..be98d47
--- a/nswa_main.lua
+++ b/nswa_main.lua
@@ -14,6 +14,8 @@ local function argparse(args)
N.hc_toggle_error()
elseif args == "d" then
N.destroy_activity_frame()
elseif args == "rogue" then
N.init_fix_ui_cringe()
elseif args == "zone" then
local current_zone = C_Map.GetBestMapForUnit("player")
print("Current Zone: " .. current_zone)
diff --git a/nswa_portals.lua b/nswa_portals.lua
old mode 100644
new mode 100755
diff --git a/nswa_repair.lua b/nswa_repair.lua
old mode 100644
new mode 100755
diff --git a/nswa_which_dungeon.lua b/nswa_which_dungeon.lua
old mode 100644
new mode 100755