Change default max latency to 250, this may cause shadow traps to become inaccurate again but it's better than masses of people who don't know how to configure dbm complaining it's not working.
@@ -107,7 +107,7 @@
DontSendBossAnnounces = false,
DontSendBossWhispers = false,
DontSetIcons = false,
- MaxLatency = 150,
+ LatencyThreshold = 250,
BigBrotherAnnounceToRaid = false,
-- HelpMessageShown = false,
}
@@ -2435,7 +2435,7 @@
end
function bossModPrototype:LatencyCheck()
- return select(3, GetNetStats()) < DBM.Options.MaxLatency
+ return select(3, GetNetStats()) < DBM.Options.LatencyThreshold
end
local function getTalentpointsSpent(spellID)
@@ -1226,8 +1226,8 @@
local latencySlider = generaloptions:CreateSlider(L.Latency_Text, 50, 500, 5, 210) -- (text , min_value , max_value , step , width)
latencySlider:SetPoint('BOTTOMLEFT', bmrange, "BOTTOMLEFT", 10, -35)
- latencySlider:HookScript("OnShow", function(self) self:SetValue(DBM.Options.MaxLatency) end)
- latencySlider:HookScript("OnValueChanged", function(self) DBM.Options.MaxLatency = self:GetValue() end)
+ latencySlider:HookScript("OnShow", function(self) self:SetValue(DBM.Options.LatencyThreshold) end)
+ latencySlider:HookScript("OnValueChanged", function(self) DBM.Options.LatencyThreshold = self:GetValue() end)
-- Pizza Timer (create your own timer menu)
local pizzaarea = DBM_GUI_Frame:CreateArea(L.PizzaTimer_Headline, nil, 85)