add raid mark filter and fix casting on unmarked units
This commit is contained in:
@@ -28,6 +28,7 @@ Cursive:RegisterDefaults("profile", {
|
||||
filterhostile = true,
|
||||
filterattackable = true,
|
||||
filterrange = false,
|
||||
filterraidmark = false,
|
||||
})
|
||||
|
||||
local barOptions = {
|
||||
@@ -208,6 +209,18 @@ local mobFilters = {
|
||||
Cursive.db.profile.filterrange = v
|
||||
end,
|
||||
},
|
||||
["raidmark"] = {
|
||||
type = "toggle",
|
||||
name = "Has Raid Mark",
|
||||
desc = "Has Raid Mark",
|
||||
order = 5,
|
||||
get = function()
|
||||
return Cursive.db.profile.filterraidmark
|
||||
end,
|
||||
set = function(v)
|
||||
Cursive.db.profile.filterraidmark = v
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
Cursive.cmdtable = {
|
||||
|
||||
Reference in New Issue
Block a user