• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 59: Line 59:  
local luck_max = ship:luck_max()
 
local luck_max = ship:luck_max()
 
return {values = {value = self:get_emphasis(luck_max, Formatting:format_stat(luck_max), self._args.luck_max_operator, self._args.luck_max_good)}, bg_color = self._transparent, text_align = self._center_align}
 
return {values = {value = self:get_emphasis(luck_max, Formatting:format_stat(luck_max), self._args.luck_max_operator, self._args.luck_max_good)}, bg_color = self._transparent, text_align = self._center_align}
 +
end
 +
 +
function EliteShipsKaiSortable:create_table_prep()
 +
    self._columns = {}
 +
    for _, column in ipairs(self._base_columns) do
 +
        table.insert(self._columns, column)
 +
    end
 +
if self._args.reference_type then
 +
self._reference_types = {}
 +
for _, reference_type in ipairs(split(self._args.reference_type, ',%s*')) do
 +
self._reference_types[tonumber(reference_type)] = true
 +
end
 +
    end
 +
    if self._args.night_battle then
 +
        table.insert(self._columns, 7, "night_battle")
 +
    end
 +
    if self._args.range then
 +
        table.insert(self._columns, self._args.night_battle and 17 or 16, "range")
 +
    end
 
end
 
end
  

Navigation menu