Changes

no edit summary
Line 45: Line 45:  
     end,
 
     end,
   −
     hp_mod = function(ship)
+
     hp_mod1 = function(ship)
         return ship:hp_max() and ship:hp_married() and (ship:hp_max() - ship:hp_married()) or "??"
+
        return ship:hp_max() and ship:hp() and math.min(2, ship:hp_max() - ship:hp()) or "??"
 +
    end,
 +
 
 +
    hp_mod2 = function(ship)
 +
         return ship:hp_max() and ship:hp_married() and math.min(2, ship:hp_max() - ship:hp_married()) or "??"
 
     end,
 
     end,
  
7,212

edits