• 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
Refactor
Line 2: Line 2:  
local EnemyShip = require("Module:EnemyShip")
 
local EnemyShip = require("Module:EnemyShip")
 
local Formatting = require('Module:Formatting')
 
local Formatting = require('Module:Formatting')
local ShipCardKai = require("Module:ShipCardKai")
+
local ShipBattleCardKai = require("Module:ShipBattleCardKai")
    
local format = require('Module:StringInterpolation').format
 
local format = require('Module:StringInterpolation').format
Line 185: Line 185:  
        local ship = EnemyShip(ship_name, ship_suffix)
 
        local ship = EnemyShip(ship_name, ship_suffix)
 
         
 
         
        table.insert(fleet, ShipCardKai:battle_card{ship = ship, caption = ship:name(), link = ship:base_name(), flagship = #fleet == 0})
+
        table.insert(fleet, ShipBattleCardKai:get{ship = ship, caption = ship:name(), link = ship:link(), flagship = #fleet == 0})
 
         
 
         
 
        if ship:air_power() then
 
        if ship:air_power() then
Anonymous user

Navigation menu