• 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 97: Line 97:  
     air_power = function(ship)
 
     air_power = function(ship)
 
         return ship:air_power() or -1
 
         return ship:air_power() or -1
 +
    end,
 +
   
 +
    equipment_range = function(ship)
 +
        return U.imax(U.imap(ship._equipment or {}, function (e) return Equipment(e.name):range() or 0 end), 0)
 +
    end,
 +
   
 +
    equipment_range_diff = function(ship)
 +
        local equipment_range = U.imax(U.imap(ship._equipment or {}, function (e) return Equipment(e.name):range() or 0 end), 0)
 +
        return (ship:range() or 0) - equipment_range
 
     end,
 
     end,
  
cssedit, gkautomate
7,064

edits

Navigation menu