Changes

m
no edit summary
Line 35: Line 35:     
     accuracy_value = function(ship, target)
 
     accuracy_value = function(ship, target)
         local accuracy_value_1, accuracy_value_2, accuracy_value_3 = Combat2.accuracy_value(ship, target)
+
         local accuracy_value_1, _, accuracy_value_3 = Combat2.accuracy_value(ship, target)
         if accuracy_value_1 and accuracy_value_2 and accuracy_value_3 then
+
         if accuracy_value_1 and accuracy_value_3 then
             return string.format(
+
             return string.format('<span class="explain" title="%.2f%%">%.2f%%</span>', accuracy_value_1, math.floor(accuracy_value_3))
                '<span class="explain" title="%.2f%%, %.2f%%, %.2f%%">%d%%</span>',
  −
                accuracy_value_1, accuracy_value_2, accuracy_value_3, math.floor(accuracy_value_3)
  −
            )
   
         else
 
         else
 
             return "nil"
 
             return "nil"
cssedit, gkautomate
7,064

edits