• 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 295: Line 295:  
     for i = 1, ship:slots_length() or 0 do
 
     for i = 1, ship:slots_length() or 0 do
 
         local equipment, size = ship:slot(i)
 
         local equipment, size = ship:slot(i)
         if self:_is_main_gun(equipment) or self:_is_secondary_gun(equipment) then
+
         if equipment then
            return 1
+
            if self:_is_main_gun(equipment) or self:_is_secondary_gun(equipment) then
        elseif self:_is_torpedo(equipment) then
+
                return 1
            return 2
+
            elseif self:_is_torpedo(equipment) then
 +
                return 2
 +
            end
 
         end
 
         end
 
     end
 
     end
cssedit, gkautomate
6,940

edits

Navigation menu