chore: hoist plugins to root and move main into Details/

Each Details_* plugin and the main Details addon now lives in its own
repo-root folder, matching the Exiles fork-layout convention.
This commit is contained in:
2026-05-25 10:59:28 +02:00
parent 0b0a5004eb
commit 5bb7be4968
421 changed files with 7 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
local _detalhes = _G.Details
local _
local addonName, Details222 = ...
local habilidade_energy = _detalhes.habilidade_e_energy
function habilidade_energy:NovaTabela (id, link, token)
local newSpellTable = {
id = id,
counter = 0,
total = 0,
totalover = 0,
targets = {}
}
return newSpellTable
end
function habilidade_energy:Add(serial, nome, flag, amount, who_nome, powertype, overpower)
self.counter = self.counter + 1
self.total = self.total + amount
self.totalover = 0
self.targets[nome] = (self.targets[nome] or 0) + amount
end