Skip to content

Commit

Permalink
release for wrath toc update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Jan 18, 2023
1 parent 4fe2bc0 commit 7255897
Show file tree
Hide file tree
Showing 22 changed files with 16 additions and 246 deletions.
21 changes: 14 additions & 7 deletions Libs/LibOpenRaid/GetPlayerInformation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ function openRaidLib.CooldownManager.GetPlayerCooldownList()
end
end

return {}
return {}, {}
end

--aura frame handles only UNIT_AURA events to grab the duration of the buff placed by the aura
Expand Down Expand Up @@ -693,13 +693,20 @@ local getAuraDuration = function(spellId)
end
end

---get the duration of a buff placed by a spell
---@param spellId number
---@return number duration
function openRaidLib.CooldownManager.GetSpellBuffDuration(spellId)
return getAuraDuration(spellId)
end

--check if a player cooldown is ready or if is in cooldown
--@spellId: the spellId to check for cooldown
--return timeLeft, charges, startTimeOffset, duration, buffDuration
---check if a player cooldown is ready or if is in cooldown
---@spellId: the spellId to check for cooldown
---@return number timeLeft
---@return number charges
---@return number startTimeOffset
---@return number duration
---@return number buffDuration
function openRaidLib.CooldownManager.GetPlayerCooldownStatus(spellId)
--check if is a charge spell
local cooldownInfo = LIB_OPEN_RAID_COOLDOWNS_INFO[spellId]
Expand All @@ -713,7 +720,7 @@ function openRaidLib.CooldownManager.GetPlayerCooldownStatus(spellId)
--return the time to the next charge
local timeLeft = start + duration - GetTime()
local startTimeOffset = start - GetTime()
return ceil(timeLeft), chargesAvailable, startTimeOffset, duration, buffDuration --time left, charges, startTime, duration, buffDuration
return ceil(timeLeft), chargesAvailable, startTimeOffset, duration, buffDuration
end
else
local start, duration = GetSpellCooldown(spellId)
Expand Down Expand Up @@ -748,7 +755,7 @@ do
end
end

function openRaidLib.AuraTracker.ScanPlayerAuras(unitId)
function openRaidLib.AuraTracker.ScanUnitAuras(unitId)
local batchCount = nil
local usePackedAura = true
openRaidLib.AuraTracker.CurrentUnitId = unitId
Expand All @@ -775,7 +782,7 @@ do
auraFrameEvent:RegisterUnitEvent("UNIT_AURA", unitId)

auraFrameEvent:SetScript("OnEvent", function()
openRaidLib.AuraTracker.ScanPlayerAuras(unitId)
openRaidLib.AuraTracker.ScanUnitAuras(unitId)
end)
end

Expand Down
4 changes: 2 additions & 2 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
local addonName, Details222 = ...
local version, build, date, tocversion = GetBuildInfo()

_detalhes.build_counter = 10407
_detalhes.alpha_build_counter = 10407 --if this is higher than the regular counter, use it instead
_detalhes.build_counter = 10408
_detalhes.alpha_build_counter = 10408 --if this is higher than the regular counter, use it instead
_detalhes.dont_open_news = true
_detalhes.game_version = version
_detalhes.userversion = version .. " " .. _detalhes.build_counter
Expand Down
9 changes: 0 additions & 9 deletions plugins/Details_DataStorage/Details_DataStorage-BCC.toc

This file was deleted.

9 changes: 0 additions & 9 deletions plugins/Details_DataStorage/Details_DataStorage-Wrath.toc

This file was deleted.

9 changes: 0 additions & 9 deletions plugins/Details_DataStorage/Details_DataStorage_TBC.toc

This file was deleted.

12 changes: 0 additions & 12 deletions plugins/Details_EncounterDetails/Details_EncounterDetails-BCC.toc

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions plugins/Details_EncounterDetails/Details_EncounterDetails_TBC.toc

This file was deleted.

10 changes: 0 additions & 10 deletions plugins/Details_RaidCheck/Details_RaidCheck-BCC.toc

This file was deleted.

10 changes: 0 additions & 10 deletions plugins/Details_RaidCheck/Details_RaidCheck-Wrath.toc

This file was deleted.

10 changes: 0 additions & 10 deletions plugins/Details_RaidCheck/Details_RaidCheck_TBC.toc

This file was deleted.

11 changes: 0 additions & 11 deletions plugins/Details_Streamer/Details_Streamer-BCC.toc

This file was deleted.

11 changes: 0 additions & 11 deletions plugins/Details_Streamer/Details_Streamer-Wrath.toc

This file was deleted.

11 changes: 0 additions & 11 deletions plugins/Details_Streamer/Details_Streamer_TBC.toc

This file was deleted.

14 changes: 0 additions & 14 deletions plugins/Details_TinyThreat/Details_TinyThreat-BCC.toc

This file was deleted.

14 changes: 0 additions & 14 deletions plugins/Details_TinyThreat/Details_TinyThreat-Classic.toc

This file was deleted.

14 changes: 0 additions & 14 deletions plugins/Details_TinyThreat/Details_TinyThreat-Wrath.toc

This file was deleted.

14 changes: 0 additions & 14 deletions plugins/Details_TinyThreat/Details_TinyThreat_TBC.toc

This file was deleted.

14 changes: 0 additions & 14 deletions plugins/Details_TinyThreat/Details_TinyThreat_Vanilla.toc

This file was deleted.

12 changes: 0 additions & 12 deletions plugins/Details_Vanguard/Details_Vanguard-BCC.toc

This file was deleted.

12 changes: 0 additions & 12 deletions plugins/Details_Vanguard/Details_Vanguard-Wrath.toc

This file was deleted.

12 changes: 0 additions & 12 deletions plugins/Details_Vanguard/Details_Vanguard_TBC.toc

This file was deleted.

0 comments on commit 7255897

Please sign in to comment.