Changes

no edit summary
Line 239: Line 239:     
function EnemyShipInfoKai:armor()
 
function EnemyShipInfoKai:armor()
self._vars.armor = Formatting:format_stat(self._ship:armor())
+
    local equipment_armor = self._ship:equipment_armor()
 +
    local armor = self._ship:armor()
 +
    local stat = Formatting:format_stat(armor)
 +
self._vars.armor = equipment_armor ~= 0 and Formatting:tooltip(stat, armor + equipment_armor) or stat
 
end
 
end
  
cssedit, gkautomate
7,064

edits