• 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 254: Line 254:  
local new_id = require('Module:Data/EnemyEquipmentCG')[id]
 
local new_id = require('Module:Data/EnemyEquipmentCG')[id]
 
local reference
 
local reference
if new_id and new_id > 1500 then
+
if new_id and new_id ~= id and new_id > 1500 then
 
local EnemyEquipment = require('Module:Collection/EnemyEquipment')
 
local EnemyEquipment = require('Module:Collection/EnemyEquipment')
 
reference = U.find(EnemyEquipment, new_id - 1000, '_id')
 
reference = U.find(EnemyEquipment, new_id - 1000, '_id')
 
end
 
end
if new_id and new_id <= 1500 then
+
if new_id and new_id ~= id and new_id <= 1500 then
 
local ShipEquipment = require('Module:Data/Equipment')
 
local ShipEquipment = require('Module:Data/Equipment')
 
reference = U.find(ShipEquipment, new_id, '_id')
 
reference = U.find(ShipEquipment, new_id, '_id')
cssedit, gkautomate
7,064

edits

Navigation menu