Changes

m
no edit summary
Line 353: Line 353:     
local function format_bonus_stat(desc, stat)
 
local function format_bonus_stat(desc, stat)
     return type(desc[stat] == "table") and
+
     return type(desc[stat] == "table") and Formatting:tooltip(U.isum(desc[stat]), U.ijoin(U.imap(desc[stat], function(e) return "+" .. e end), " ")) or desc[stat] or false
        Formatting:tooltip(U.isum(desc[stat]), U.ijoin(U.imap(desc[stat], function(e) return "+" .. e end), " ")) or
  −
        desc[stat] or
  −
        false
   
end
 
end
  
cssedit, gkautomate
7,064

edits