Commit 785321bc authored by Merathilis's avatar Merathilis

Options updates for Raid Manager.

parent 67c3efd0
......@@ -411,6 +411,9 @@ L["Shows the pixel glow on missing raid buffs."] = "Zeigt ein Leuchten um den fe
L["Raid Manager"] = true
L["This will disable the ElvUI Raid Control and replace it with my own."] = "Dieses deaktiviert die ElvUI Schlachtzugssteuerung und ersetzt es mit meiner eigenen."
L["Open Raid Manager"] = "Öffne Raid Manager"
L["Pull Timer Count"] = "Pulltimer Zähler"
L["Change the Pulltimer for DBM or BigWigs"] = "Ändert den Pulltimer für DBM oder BigWigs"
L['Only accept values format with "", e.g.: "5", "8", "10" etc.'] = 'Aktzeptiert nur Zahlenformat mit "", z.B. "5", "8", "10" etc.'
-- Reminder
L["Reminder"] = "Erinnerung"
......
......@@ -416,6 +416,9 @@ L["Shows the pixel glow on missing raidbuffs."] = true
L["Raid Manager"] = true
L["This will disable the ElvUI Raid Control and replace it with my own."] = true
L["Open Raid Manager"] = true
L["Pull Timer Count"] = true
L["Change the Pulltimer for DBM or BigWigs"] = true
L['Only accept values format with "", e.g.: "5", "8", "10" etc.'] = true
-- Reminder
L["Reminder"] = true
......
......@@ -413,6 +413,9 @@ L["Shows the pixel glow on missing raidbuffs."] = true
L["Raid Manager"] = true
L["This will disable the ElvUI Raid Control and replace it with my own."] = true
L["Open Raid Manager"] = true
L["Pull Timer Count"] = true
L["Change the Pulltimer for DBM or BigWigs"] = true
L['Only accept values format with "", e.g.: "5", "8", "10" etc.'] = true
-- Reminder
L["Reminder"] = true
......
......@@ -413,6 +413,9 @@ L["Shows the pixel glow on missing raidbuffs."] = true
L["Raid Manager"] = true
L["This will disable the ElvUI Raid Control and replace it with my own."] = true
L["Open Raid Manager"] = true
L["Pull Timer Count"] = true
L["Change the Pulltimer for DBM or BigWigs"] = true
L['Only accept values format with "", e.g.: "5", "8", "10" etc.'] = true
-- Reminder
L["Reminder"] = true
......
......@@ -409,6 +409,9 @@ L["Shows the pixel glow on missing raidbuffs."] = true
L["Raid Manager"] = true
L["This will disable the ElvUI Raid Control and replace it with my own."] = true
L["Open Raid Manager"] = true
L["Pull Timer Count"] = true
L["Change the Pulltimer for DBM or BigWigs"] = true
L['Only accept values format with "", e.g.: "5", "8", "10" etc.'] = true
-- Reminder
L["Reminder"] = true
......
......@@ -411,6 +411,9 @@ L["Shows the pixel glow on missing raidbuffs."] = true
L["Raid Manager"] = true
L["This will disable the ElvUI Raid Control and replace it with my own."] = true
L["Open Raid Manager"] = true
L["Pull Timer Count"] = true
L["Change the Pulltimer for DBM or BigWigs"] = true
L['Only accept values format with "", e.g.: "5", "8", "10" etc.'] = true
-- Reminder
L["Reminder"] = true
......
......@@ -411,6 +411,9 @@ L["Shows the pixel glow on missing raidbuffs."] = "为丢失的团队BUFF显示
L["Raid Manager"] = true
L["This will disable the ElvUI Raid Control and replace it with my own."] = true
L["Open Raid Manager"] = true
L["Pull Timer Count"] = true
L["Change the Pulltimer for DBM or BigWigs"] = true
L['Only accept values format with "", e.g.: "5", "8", "10" etc.'] = true
-- Reminder
L["Reminder"] = "常驻BUFF提醒"
......
......@@ -411,6 +411,9 @@ L["Shows the pixel glow on missing raidbuffs."] = true
L["Raid Manager"] = true
L["This will disable the ElvUI Raid Control and replace it with my own."] = true
L["Open Raid Manager"] = true
L["Pull Timer Count"] = true
L["Change the Pulltimer for DBM or BigWigs"] = true
L['Only accept values format with "", e.g.: "5", "8", "10" etc.'] = true
-- Reminder
L["Reminder"] = true
......
......@@ -39,6 +39,17 @@ local function RaidManagerOptions()
type = "toggle",
name = L["Enable"],
},
count = {
order = 4,
type = "input",
name = L["Pull Timer Count"],
desc = L["Change the Pulltimer for DBM or BigWigs"],
usage = L['Only accept values format with "", e.g.: "5", "8", "10" etc.'],
width = "half",
get = function(info) return E.db.mui.raidmanager.count end,
set = function(info, value) E.db.mui.raidmanager.count = value; E:StaticPopup_Show("PRIVATE_RL"); end,
disabled = function() return not E.db.mui.raidmanager.enable end,
},
},
}
end
......
......@@ -300,7 +300,7 @@ function module:CreateRaidManager()
if IsInGroup() and (UnitIsGroupLeader("player") or (UnitIsGroupAssistant("player") and IsInRaid())) then
if IsAddOnLoaded("DBM-Core") then
if reset then
SlashCmdList["DEADLYBOSSMODS"]("pull "..E.db.mui.raidmanager.Count)
SlashCmdList["DEADLYBOSSMODS"]("pull "..E.db.mui.raidmanager.count)
else
SlashCmdList["DEADLYBOSSMODS"]("pull 0")
end
......@@ -309,7 +309,7 @@ function module:CreateRaidManager()
if not SlashCmdList["BIGWIGSPULL"] then LoadAddOn("BigWigs_Plugins") end
if reset then
SlashCmdList["BIGWIGSPULL"](E.db.mui.raidmanager.Count)
SlashCmdList["BIGWIGSPULL"](E.db.mui.raidmanager.count)
else
SlashCmdList["BIGWIGSPULL"]("0")
end
......
......@@ -427,7 +427,7 @@ MP.raidmarkers = {
MP.raidmanager = {
enable = true,
unlockraidmarks = false,
Count = "10",
count = "10",
}
MP.tooltip = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment