• 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 32: Line 32:  
     _elos = 0,
 
     _elos = 0,
 
     _fighter_power = 0,
 
     _fighter_power = 0,
     _hq_lvl = 0
+
     _hq_lvl
 
})
 
})
   Line 74: Line 74:  
     row = {row[3], row[4]}
 
     row = {row[3], row[4]}
 
     return self:equips(row)
 
     return self:equips(row)
end
  −
  −
function NanaminFleet:process_hq_lvl(item_key)
  −
    local split = mw.ustring.find(item_key, '=')
  −
    local value = mw.ustring.sub(item_key, split + 1)
  −
    return 97
   
end
 
end
   Line 110: Line 104:  
             item = false
 
             item = false
 
              
 
              
             self._hq_lvl = self:process_hq_lvl(item_key)
+
            local split = mw.ustring.find(item_key, '=')
 +
             self._hq_lvl = tonumber(mw.ustring.sub(item_key, split + 1))
 
              
 
              
 
             --Get bracket of 5
 
             --Get bracket of 5
48

edits

Navigation menu