- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Changes
Jump to navigation
Jump to search
Line 74:
Line 74:
− +
no edit summary
function ShipInfoKai:bg_color(ship)
function ShipInfoKai:bg_color(ship)
local rarity = ship:rarity()
local rarity = ship:rarity()
return Formatting:format_ship_back(rarity), Formatting:extra_style_background_image(rarity > 7, rarity > 6)
return Formatting:format_ship_back(rarity), Formatting:extra_style_background_image(rarity and rarity > 7, rarity and rarity > 6)
end
end