• 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
no edit summary
Line 106: Line 106:  
function ShipInfoKai:id(ship)
 
function ShipInfoKai:id(ship)
 
return Formatting:format_stat_with_max(ship:id(), ship:true_id())
 
return Formatting:format_stat_with_max(ship:id(), ship:true_id())
 +
end
 +
 +
function ShipInfoKai:class(ship)
 +
return Formatting:format_stat(ship:class())
 +
end
 +
 +
function ShipInfoKai:type(ship)
 +
return Formatting:format_ship_type(ship:type())
 
end
 
end
   Line 217: Line 225:  
vars.id = self:id(ship)
 
vars.id = self:id(ship)
 
vars.japanese_name = ship:japanese_name()
 
vars.japanese_name = ship:japanese_name()
vars.class = ship:class()
+
vars.class = self:class(ship)
vars.type = ship:type()
+
vars.type = self:type(ship)
 
vars.image = self:image(ship)
 
vars.image = self:image(ship)
 
vars.hp = self:hp(ship)
 
vars.hp = self:hp(ship)
Anonymous user

Navigation menu