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:
@@ -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
|
||||
Reference in New Issue
Block a user