Changes

m
no edit summary
Line 255: Line 255:  
        return Formatting:ship_cg_damaged(nil, self:unique_name(), nil, self._cg_damaged_extension, true, hd)
 
        return Formatting:ship_cg_damaged(nil, self:unique_name(), nil, self._cg_damaged_extension, true, hd)
 
    elseif api_id or simple_naming then
 
    elseif api_id or simple_naming then
 +
        if self._can_debuff and api_id > 1500 then
 +
                api_id = api_id - 1000
 +
        end
 
    return Formatting:ship_cg_damaged(api_id, self:unique_name(), self:type(), self._cg_damaged_extension, simple_naming, hd)
 
    return Formatting:ship_cg_damaged(api_id, self:unique_name(), self:type(), self._cg_damaged_extension, simple_naming, hd)
 
    end
 
    end
cssedit, gkautomate
7,064

edits