Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EquipmentData
(view source)
Revision as of 14:30, 12 July 2024
34 bytes added
,
4 months ago
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