• 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
Also showing Armor and HP in tooltips
Line 188: Line 188:  
            ship_suffix = ""
 
            ship_suffix = ""
 
        end
 
        end
 +
 
        local ship = EnemyShip(ship_name, ship_suffix)
 
        local ship = EnemyShip(ship_name, ship_suffix)
         
+
        local ship_caption =
        table.insert(fleet, ShipBattleCardKai:get{ship = ship, caption = (ship:name() or "") .. (ship:api_id() and " (" .. ship:api_id() .. ")" or ""), link = ship:link(), flagship = #fleet == 0})
+
            (ship:name() or "?")
 +
            .. " (" .. (ship:api_id() or "?") .. "): "
 +
            .. (ship:armor() or "?") .. " Armor, " .. (ship:hp() or "?") .. " HP"
 +
        table.insert(fleet, ShipBattleCardKai:get{ship = ship, caption = ship_caption, link = ship:link(), flagship = #fleet == 0})
    
        local ship_air_power = ship:air_power()
 
        local ship_air_power = ship:air_power()
cssedit, gkautomate
7,064

edits

Navigation menu