Changes

equipment doesn't add hp
Line 45: Line 45:  
"los",
 
"los",
 
"luck",
 
"luck",
"hp",
   
"armor",
 
"armor",
 
"accuracy",
 
"accuracy",
Line 194: Line 193:  
end
 
end
 
return {values = {value = Formatting:format_stat(luck)}, bg_color = self._transparent, text_align = self._center_align}
 
return {values = {value = Formatting:format_stat(luck)}, bg_color = self._transparent, text_align = self._center_align}
end
  −
  −
function EquipmentListKai:hp(equipment)
  −
local hp = equipment:hp()
  −
if hp ~= false then
  −
self._shown_stats.hp = true
  −
end
  −
return {values = {value = Formatting:format_stat(hp)}, bg_color = self._transparent, text_align = self._center_align}
   
end
 
end
  
Anonymous user