• 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
m
no edit summary
Line 42: Line 42:  
     if self._hq_lvl % 5 == 0 then
 
     if self._hq_lvl % 5 == 0 then
 
         self._hq_lvl = self._hq_lvl + 5
 
         self._hq_lvl = self._hq_lvl + 5
 +
    end
 +
end
 +
 +
function NanaminFleetKai:process_los(entry)
 +
    local ship = Ship(entry[1], entry[2])
 +
    if ship:los() and ship:los_max() then
 +
        local los = math.floor(ship:los() + ((ship:los_max() - ship:los())))
 +
        self._elos = los * 1.69
 
     end
 
     end
 
end
 
end
Line 49: Line 57:  
     for index, item in ipairs(args) do
 
     for index, item in ipairs(args) do
 
         if item == "-" and #entry > 0 then
 
         if item == "-" and #entry > 0 then
 +
            self:process_los(entry)
 
             table.insert(self._items, entry)
 
             table.insert(self._items, entry)
 
             entry = {}
 
             entry = {}
48

edits

Navigation menu