This commit is contained in:
Tercio Jose
2022-07-23 13:44:05 -03:00
parent 74996ae757
commit 39ec2f2f3b
3 changed files with 125 additions and 65 deletions
+3 -3
View File
@@ -352,7 +352,7 @@ LIB_OPEN_RAID_CAN_LOAD = false
local currentSchedule = registeredUniqueTimers[namespace] and registeredUniqueTimers[namespace][scheduleName]
if (currentSchedule) then
if (not currentSchedule._cancelled) then
if (not currentSchedule:IsCancelled()) then
currentSchedule:Cancel()
end
registeredUniqueTimers[namespace][scheduleName] = nil
@@ -364,7 +364,7 @@ LIB_OPEN_RAID_CAN_LOAD = false
local registeredUniqueTimers = openRaidLib.Schedules.registeredUniqueTimers
for namespace, schedulesTable in pairs(registeredUniqueTimers) do
for scheduleName, timerObject in pairs (schedulesTable) do
if (timerObject and not timerObject._cancelled) then
if (timerObject and not timerObject:IsCancelled()) then
timerObject:Cancel()
end
end
@@ -1436,7 +1436,7 @@ local cooldownStartTicker = function(spellId, cooldownTimeLeft)
end
--cancel the existing ticker
if (not existingTicker._cancelled) then
if (not existingTicker:IsCancelled()) then
existingTicker:Cancel()
end
end
+4 -1
View File
@@ -195,6 +195,9 @@ LIB_OPEN_RAID_GEM_IDS = {
[173129] = true, --Versatile Jewel Cluster (blue, versatility)
[173127] = true, --Deadly Jewel Cluster (blue, crit)
[173128] = true, --Quick Jewel Cluster (blue, haste)
[168636] = true, --Leviathan's Eye of Strength (purple, strength)
[169220] = true, --Straddling Sage Agate (blue, movement speed)
[173126] = true, --Straddling Jewel Doublet (green, movement speed)
}
--/dump GetWeaponEnchantInfo()
@@ -1050,4 +1053,4 @@ LIB_OPEN_RAID_SPELL_DEFAULT_IDS = {
}
--need to add mass dispell (32375)
--need to add mass dispell (32375)