• 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
m
9 revisions imported
Line 12: Line 12:  
ship = args.ship
 
ship = args.ship
 
end
 
end
return Formatting:format_image{ship:battle_card(), size = args.size or self._battle_card_size, link = args.link, caption = args.caption}
+
return Formatting:format_image{ship:battle_card(), size = args.size or self._battle_card_size, link = ship:base_name(), caption = ship:name()}
 
end
 
end
 
   
 
   
 
function EnemyShipCard:create_ship(args)
 
function EnemyShipCard:create_ship(args)
return EnemyShip(args.name, args.model)
+
return EnemyShip(args[1], args[2])
 
end
 
end
 
   
 
   
 
function EnemyShipCard:BattleCard(args)
 
function EnemyShipCard:BattleCard(args)
 
local ship = self:create_ship(args)
 
local ship = self:create_ship(args)
return self:battle_card(ship, args)
+
return EnemyShipCard:battle_card(ship, args)
 
end
 
end
+
 
 +
function EnemyShipCard.getFrame(frame)
 +
local args = getArgs{frame = frame:getParent()}
 +
return EnemyShipCard:BattleCard(args)
 +
end
 +
 
 
return EnemyShipCard
 
return EnemyShipCard
Bots, gkautomate
12,557

edits

Navigation menu