Changes

m
no edit summary
Line 197: Line 197:     
function Combat.air_power(ship)
 
function Combat.air_power(ship)
     local slot1 = math.floor(10 * math.sqrt(ship._equipment[1].size))
+
     local slot1 = math.floor(25 + 10 * math.sqrt(ship._equipment[1].size))
     local slot2 = math.floor(10 * math.sqrt(ship._equipment[2].size))
+
     local slot2 = math.floor(25 + 10 * math.sqrt(ship._equipment[2].size))
     local slot3 = math.floor(10 * math.sqrt(ship._equipment[3].size))
+
     local slot3 = math.floor(25 + 10 * math.sqrt(ship._equipment[3].size))
     local slot4 = ship._equipment[4] and math.floor(10 * math.sqrt(ship._equipment[4].size)) or 0
+
     local slot4 = ship._equipment[4] and math.floor(25 + 10 * math.sqrt(ship._equipment[4].size)) or 0
 
     return {
 
     return {
 
         slot_all = slot1 + slot2 + slot3 + slot4,
 
         slot_all = slot1 + slot2 + slot3 + slot4,
cssedit, gkautomate
6,926

edits