• 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 164: Line 164:  
                 if item:type() == 6 or item:type() == 7 or item:type() == 8 or item:type() == 11 then
 
                 if item:type() == 6 or item:type() == 7 or item:type() == 8 or item:type() == 11 then
 
                     if ship:slot(slot_number) and item:aa() then
 
                     if ship:slot(slot_number) and item:aa() then
 +
                        mw.log("Adding " .. tostring(item:aa()) .. " from " .. ship:name() .. ", slot " .. tostring(slot_number))
 
                         self._fighter_power = self._fighter_power + math.floor(math.sqrt(select(2, ship:slot(slot_number))) * item:aa())
 
                         self._fighter_power = self._fighter_power + math.floor(math.sqrt(select(2, ship:slot(slot_number))) * item:aa())
 
                     end
 
                     end
Line 190: Line 191:  
             table.insert(self._items, row4)
 
             table.insert(self._items, row4)
 
             row1, row2, row3, row4 = {}, {}, {}, {}
 
             row1, row2, row3, row4 = {}, {}, {}, {}
 +
            ship_item1 = nil
 
         end
 
         end
 
     end
 
     end
48

edits

Navigation menu