ElEditors, Interface administrators, Administrators
70,892
edits
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 22: | Line 22: | ||
-- Dictionary for headers | -- Dictionary for headers | ||
local prop = { 'MP Usage', 'Cooldown', 'Duration', 'MP Recovery', 'Max Hits' } | local prop = { 'MP Usage', 'Cooldown', 'Duration', 'MP Recovery', 'Max Hits', 'Effects' } | ||
if is_rose then | if is_rose then | ||
for k, v in ipairs(prop) do | for k, v in ipairs(prop) do | ||
Line 29: | Line 29: | ||
end | end | ||
local prop_short = { 'mp', 'cd', 'duration', 'mp_recovery', 'hits', 'chance' } | local prop_short = { 'mp', 'cd', 'duration', 'mp_recovery', 'hits', 'effects', 'chance' } | ||
local STR = { | local STR = { | ||
Line 54: | Line 54: | ||
{ STR.KB1 }, | { STR.KB1 }, | ||
{ STR.REGEN1 }, | { STR.REGEN1 }, | ||
{ STR.USEFUL } | { STR.USEFUL }, | ||
{ STR.KB2 } | |||
} | } | ||
Line 241: | Line 242: | ||
end_value = (tonumber(multiplier) / 100) * tonumber(base or 0) | end_value = (tonumber(multiplier) / 100) * tonumber(base or 0) | ||
end | end | ||
if tonumber(end_value) ~= nil | if tonumber(end_value) ~= nil then | ||
end_value = '-' | end_value = '-' | ||
end | end |