- 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 157:
Line 157:
− +
Line 218:
Line 218:
+
+
+
+
Add level formatting
function ShipData:remodel_level(raw)
function ShipData:remodel_level(raw)
return self:format_stat(self._remodel_level, raw)
return self:format_level(self._remodel_level, raw)
end
end
function ShipData:range()
function ShipData:range()
return self:format_range(self._speed)
return self:format_range(self._speed)
end
function ShipData:format_level(stat, raw)
return not raw and mw.ustring.format("Level %s", stat) or stat
end
end