Open Raid Lib updates: now is capable to track item cooldown

This commit is contained in:
Tercio Jose
2023-01-30 14:14:47 -03:00
parent b21abe6b2d
commit c474b762bb
7 changed files with 36 additions and 12 deletions
+3
View File
@@ -18,6 +18,7 @@ local CONST_COOLDOWN_TYPE_DEFENSIVE_TARGET = 3
local CONST_COOLDOWN_TYPE_DEFENSIVE_RAID = 4
local CONST_COOLDOWN_TYPE_UTILITY = 5
local CONST_COOLDOWN_TYPE_INTERRUPT = 6
local CONST_COOLDOWN_TYPE_ITEM = 10
--hold spellIds and which custom caches the spell is in
--map[spellId] = map[filterName] = true
@@ -179,6 +180,7 @@ local filterStringToCooldownType = {
["ofensive"] = CONST_COOLDOWN_TYPE_OFFENSIVE,
["utility"] = CONST_COOLDOWN_TYPE_UTILITY,
["interrupt"] = CONST_COOLDOWN_TYPE_INTERRUPT,
["item"] = CONST_COOLDOWN_TYPE_ITEM,
}
local filterStringToCooldownTypeReverse = {
@@ -188,6 +190,7 @@ local filterStringToCooldownTypeReverse = {
[CONST_COOLDOWN_TYPE_OFFENSIVE] = "ofensive",
[CONST_COOLDOWN_TYPE_UTILITY] = "utility",
[CONST_COOLDOWN_TYPE_INTERRUPT] = "interrupt",
[CONST_COOLDOWN_TYPE_ITEM] = "item",
}
local removeSpellFromCustomFilterCache = function(spellId, filterName)