ElEditors, Interface administrators, Administrators
70,868
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' } | ||
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 | local prop_short = { 'mp', 'cd', 'duration', 'mp_recovery', 'hits', 'chance' } | ||
local STR = { | local STR = { | ||
Line 197: | Line 197: | ||
unnamed[1], | unnamed[1], | ||
unnamed[2], | unnamed[2], | ||
MP = MP_ARG, | MP = args['def_ignore' .. trait_count] ~= nil and 'Energy' or MP_ARG, | ||
ECP = ECP_ARG, | ECP = ECP_ARG, | ||
CD = args['cd' .. trait_count] or default_value['cd'], | CD = args['cd' .. trait_count] or default_value['cd'], | ||
Line 203: | Line 203: | ||
CHANCE = args['chance' .. trait_count] or default_value['chance'], | CHANCE = args['chance' .. trait_count] or default_value['chance'], | ||
DAMAGE = args['dmg' .. trait_count] or default_value['dmg'], | DAMAGE = args['dmg' .. trait_count] or default_value['dmg'], | ||
DEF_IGNORE = args['def_ignore' .. trait_count], | |||
DEF_IGNORE_PVP = args['pvp_def_ignore' .. trait_count] | |||
} | } | ||
}); | }); |