Skip to content

Commit

Permalink
Removed LCD
Browse files Browse the repository at this point in the history
  • Loading branch information
d87 committed Nov 27, 2023
1 parent 16b5479 commit 98d5032
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 75 deletions.
2 changes: 0 additions & 2 deletions .pkgmeta
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ externals:
Libs/LibDataBroker-1.1: https://github.com/tekkub/libdatabroker-1-1.git
Libs/LibDBIcon-1.0: https://repos.wowace.com/wow/libdbicon-1-0/trunk/LibDBIcon-1.0
Libs/LibTranslit-1.0: https://github.com/Vardex/LibTranslit.git
Libs/LibHealComm-4.0: https://github.com/Azilroka/LibHealComm-4.0.git
Libs/LibClassicDurations: https://repos.curseforge.com/wow/libclassicdurations
4 changes: 0 additions & 4 deletions Aptechka-Classic.toc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
Libs\LibStub\LibStub.lua
Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua
Libs\AceDB-3.0\AceDB-3.0.xml
Libs\LibClassicDurations\LibClassicDurations.xml
Libs\LibCombatLogHealth-1.0\LibCombatLogHealth-1.0.lua
Libs\LibCustomGlow\LibCustomGlow-1.0.xml
Libs\LibSharedMedia-3.0\lib.xml
Expand All @@ -27,9 +26,6 @@ Libs\LibAuraTypes\LibAuraTypes.lua
Libs\LibTargetedCasts\LibTargetedCasts.lua
Libs\LibTargeted\LibTargeted.lua

Libs\LibHealComm-4.0\LibHealComm-4.0.xml
Libs\LibClassicDurations\LibClassicDurations.xml

helpers.lua
config.lua
config.classic.lua
Expand Down
2 changes: 0 additions & 2 deletions Aptechka-TBC.toc
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ Libs\LibAuraTypes\LibAuraTypes.lua
Libs\LibTargetedCasts\LibTargetedCasts.lua
Libs\LibTargeted\LibTargeted.lua

Libs\LibHealComm-4.0\LibHealComm-4.0.xml

helpers.lua
config.lua
config.tbc.lua
Expand Down
67 changes: 0 additions & 67 deletions Aptechka.lua
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ local LibTranslit = LibStub("LibTranslit-1.0")
local GetIncomingHealsCustom -- upvalue to swap based on HealComm usage
-- Classic things
local HealComm
local LibClassicDurations = LibStub("LibClassicDurations", true)
local spellNameToID = helpers.spellNameToID

local L = setmetatable({}, {
Expand Down Expand Up @@ -415,11 +414,6 @@ function Aptechka.PLAYER_LOGIN(self,event,arg1)
end
end

if LibClassicDurations then
LibClassicDurations:RegisterFrame(self)
UnitAura = LibClassicDurations.UnitAuraWrapper
Aptechka:UpdateSpellNameToIDTable()
end
if apiLevel <= 3 then
function Aptechka:SetClassicClickcastAttributes(f)
if f:CanChangeAttribute() then
Expand Down Expand Up @@ -756,10 +750,6 @@ function Aptechka:GenerateMergedConfig()
config.GLOBAL = nil
config[class] = nil

if apiLevel == 1 then
Aptechka.spellNameToID = helpers.spellNameToID
Aptechka:UpdateSpellNameToIDTable()
end

-- Template application
helpers.UnwrapConfigTemplates(AptechkaConfigMerged.traces)
Expand Down Expand Up @@ -3015,60 +3005,6 @@ local function SetDebuffIcon(frame, unit, index, debuffType, expirationTime, dur
end
end

if apiLevel == 1 then
local spellNameBasedCategories = { "traces" }
function Aptechka:UpdateSpellNameToIDTable()
local mergedConfig = AptechkaConfigMerged
local visited = {}

for _, catName in ipairs(spellNameBasedCategories) do
local category = mergedConfig[catName]
if category then
for spellID, opts in pairs(category) do
if not visited[opts] then
local lastRankID
local clones = opts.clones
if clones and next(clones)then
lastRankID = spellID
for sid in pairs(clones) do
if lastRankID < sid then
lastRankID = sid
end
end
else
lastRankID = spellID
end
helpers.AddSpellNameRecognition(lastRankID)

visited[opts] = true
end
end
end
end
end


SetDebuffIcon = function (frame, unit, index, debuffType, expirationTime, duration, icon, count, isBossAura, spellID, spellName)
local iconFrame = frame.debuffIcons[index]
if debuffType == false then
iconFrame:Hide()
else
iconFrame:SetJob(debuffType, expirationTime, duration, icon, count, isBossAura, spellID)
iconFrame:Show()

local refreshTimestamp = frame.auraEvents[spellName]
local now = GetTime()
if refreshTimestamp and now - refreshTimestamp < 0.1 then
frame.auraEvents[spellName] = nil

iconFrame.eyeCatcher:Stop()
iconFrame.eyeCatcher:Play()
end
end
end
end


local encountered = {}

local function IndicatorAurasProc(frame, unit, index, slot, filter, name, icon, count, debuffType, duration, expirationTime, caster, isStealable, nameplateShowSelf, spellID )
Expand Down Expand Up @@ -3169,9 +3105,6 @@ end
local UnitAuraUniversal -- If available it's using slots API, otherwise just normal UnitAura
if apiLevel <= 3 then
UnitAuraUniversal = UnitAura
if LibClassicDurations then
UnitAuraUniversal = LibClassicDurations.UnitAuraWrapper
end
ForEachAura = function(frame, unit, filter, batchSize, func)
for i=1,100 do
local name, icon, count, debuffType, duration, expirationTime, caster, isStealable, nameplateShowSelf, spellID, canApplyAura, isBossAura = UnitAura(unit, i, filter)
Expand Down

0 comments on commit 98d5032

Please sign in to comment.