release for wrath toc update

This commit is contained in:
Tercio Jose
2023-01-18 11:01:56 -03:00
parent 4fe2bc08b7
commit 7255897134
22 changed files with 16 additions and 246 deletions
+14 -7
View File
@@ -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
@@ -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]
@@ -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)
@@ -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
@@ -775,7 +782,7 @@ do
auraFrameEvent:RegisterUnitEvent("UNIT_AURA", unitId)
auraFrameEvent:SetScript("OnEvent", function()
openRaidLib.AuraTracker.ScanPlayerAuras(unitId)
openRaidLib.AuraTracker.ScanUnitAuras(unitId)
end)
end
+2 -2
View File
@@ -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
@@ -1,9 +0,0 @@
## Interface: 20504
## Title: Details!: Storage
## Notes: Stores information for Details! Damage Meter
## DefaultState: Enabled
## LoadOnDemand: 1
## Dependencies: Details
## SavedVariables: DetailsDataStorage
Details_DataStorage.lua
@@ -1,9 +0,0 @@
## Interface: 30401
## Title: Details!: Storage
## Notes: Stores information for Details! Damage Meter
## DefaultState: Enabled
## LoadOnDemand: 1
## Dependencies: Details
## SavedVariables: DetailsDataStorage
Details_DataStorage.lua
@@ -1,9 +0,0 @@
## Interface: 20504
## Title: Details!: Storage
## Notes: Stores information for Details! Damage Meter
## DefaultState: Enabled
## LoadOnDemand: 1
## Dependencies: Details
## SavedVariables: DetailsDataStorage
Details_DataStorage.lua
@@ -1,12 +0,0 @@
## Interface: 20504
## Title: Details!: Encounter Breakdown (plugin)
## Notes: Show detailed information about a boss encounter. Also provide damage per phase, graphic charts, easy weakauras creation.
## RequiredDeps: Details
## OptionalDeps: Ace3
## SavedVariablesPerCharacter: EncounterDetailsDB
enUS.lua
ptBR.lua
frames.lua
Details_EncounterDetails.lua
@@ -1,12 +0,0 @@
## Interface: 30401
## Title: Details!: Encounter Breakdown (plugin)
## Notes: Show detailed information about a boss encounter. Also provide damage per phase, graphic charts, easy weakauras creation.
## RequiredDeps: Details
## OptionalDeps: Ace3
## SavedVariablesPerCharacter: EncounterDetailsDB
enUS.lua
ptBR.lua
frames.lua
Details_EncounterDetails.lua
@@ -1,17 +0,0 @@
## Interface: 20504
## Title: Details!: Encounter Breakdown (plugin)
## Notes: Show detailed information about a boss encounter. Also provide damage per phase, graphic charts, easy weakauras creation.
## RequiredDeps: Details
## OptionalDeps: Ace3
## SavedVariablesPerCharacter: EncounterDetailsDB
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
enUS.lua
ptBR.lua
frames.lua
Details_EncounterDetails.lua
@@ -1,10 +0,0 @@
## Interface: 20504
## Title: Details!: Raid Check (plugin)
## Notes: Show talents and item level for all members in your group, also shows food and flask state.
## RequiredDeps: Details
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_RaidCheck.lua
@@ -1,10 +0,0 @@
## Interface: 30401
## Title: Details!: Raid Check (plugin)
## Notes: Show talents and item level for all members in your group, also shows food and flask state.
## RequiredDeps: Details
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_RaidCheck.lua
@@ -1,10 +0,0 @@
## Interface: 20504
## Title: Details!: Raid Check (plugin)
## Notes: Show talents and item level for all members in your group, also shows food and flask state.
## RequiredDeps: Details
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_RaidCheck.lua
@@ -1,11 +0,0 @@
## Interface: 20504
## Title: Details!: Streamer (plugin)
## Notes: Show which spells you are casting, viewers can see what are you doing and follow your steps.
## RequiredDeps: Details
## SavedVariables: Details_StreamerDB
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_Streamer.lua
@@ -1,11 +0,0 @@
## Interface: 30401
## Title: Details!: Streamer (plugin)
## Notes: Show which spells you are casting, viewers can see what are you doing and follow your steps.
## RequiredDeps: Details
## SavedVariables: Details_StreamerDB
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_Streamer.lua
@@ -1,11 +0,0 @@
## Interface: 20504
## Title: Details!: Streamer (plugin)
## Notes: Show which spells you are casting, viewers can see what are you doing and follow your steps.
## RequiredDeps: Details
## SavedVariables: Details_StreamerDB
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_Streamer.lua
@@ -1,14 +0,0 @@
## Interface: 20504
## Title: Details!: Tiny Threat (plugin)
## Notes: Threat meter plugin, show threat for group members in the window. Select it from the Plugin menu in the Orange Cogwheel.
## RequiredDeps: Details
## OptionalDeps: Ace3
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
enUS.lua
ptBR.lua
Details_TinyThreat.lua
@@ -1,14 +0,0 @@
## Interface: 11401
## Title: Details!: Tiny Threat (plugin)
## Notes: Threat meter plugin, show threat for group members in the window. Select it from the Plugin menu in the Orange Cogwheel.
## RequiredDeps: Details
## OptionalDeps: Ace3
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
enUS.lua
ptBR.lua
Details_TinyThreat.lua
@@ -1,14 +0,0 @@
## Interface: 30401
## Title: Details!: Tiny Threat (plugin)
## Notes: Threat meter plugin, show threat for group members in the window. Select it from the Plugin menu in the Orange Cogwheel.
## RequiredDeps: Details
## OptionalDeps: Ace3
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
enUS.lua
ptBR.lua
Details_TinyThreat.lua
@@ -1,14 +0,0 @@
## Interface: 20504
## Title: Details!: Tiny Threat (plugin)
## Notes: Threat meter plugin, show threat for group members in the window. Select it from the Plugin menu in the Orange Cogwheel.
## RequiredDeps: Details
## OptionalDeps: Ace3
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
enUS.lua
ptBR.lua
Details_TinyThreat.lua
@@ -1,14 +0,0 @@
## Interface: 11401
## Title: Details!: Tiny Threat (plugin)
## Notes: Threat meter plugin, show threat for group members in the window. Select it from the Plugin menu in the Orange Cogwheel.
## RequiredDeps: Details
## OptionalDeps: Ace3
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
enUS.lua
ptBR.lua
Details_TinyThreat.lua
@@ -1,12 +0,0 @@
## Interface: 20504
## Title: Details!: Vanguard (plugin)
## Notes: Show the health and debuffs for tanks in your group.
## SavedVariablesPerCharacter: _detalhes_databaseVanguard
## RequiredDeps: Details
## OptionalDeps: Ace3
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_Vanguard.lua
@@ -1,12 +0,0 @@
## Interface: 30401
## Title: Details!: Vanguard (plugin)
## Notes: Show the health and debuffs for tanks in your group.
## SavedVariablesPerCharacter: _detalhes_databaseVanguard
## RequiredDeps: Details
## OptionalDeps: Ace3
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_Vanguard.lua
@@ -1,12 +0,0 @@
## Interface: 20504
## Title: Details!: Vanguard (plugin)
## Notes: Show the health and debuffs for tanks in your group.
## SavedVariablesPerCharacter: _detalhes_databaseVanguard
## RequiredDeps: Details
## OptionalDeps: Ace3
#@no-lib-strip@
embeds.xml
#@end-no-lib-strip@
Details_Vanguard.lua