• 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
HA/MG AA categories disabled due to being phased out. Could make a comeback so disabled rather than deleted.
Line 49: Line 49:  
local equipment_icon = self._equipment:icon()
 
local equipment_icon = self._equipment:icon()
 
local equipment_type = self._equipment:type()
 
local equipment_type = self._equipment:type()
if equipment_icon == 16 then
+
-- if equipment_icon == 16 then --HA/MG AA categories disabled due to being phased out. Could make a comeback so disabled rather than deleted.
local aa = self._equipment:aa()
+
-- local aa = self._equipment:aa()
if  aa and aa >= 8  then
+
-- if  aa and aa >= 8  then
table.insert(self._categories, format{"Category:High-angle Guns with 8+ AA stat"})
+
-- table.insert(self._categories, format{"Category:High-angle Guns with 8+ AA stat"})
end
+
-- end
elseif equipment_type == 21 then
+
-- elseif equipment_type == 21 then
local aa = self._equipment:aa()
+
-- local aa = self._equipment:aa()
if  aa and aa >= 9  then
+
-- if  aa and aa >= 9  then
table.insert(self._categories, format{"Category:${equipment_type} with 9+ AA stat", equipment_type = Formatting:format_equipment_type_plural(equipment_type)})
+
-- table.insert(self._categories, format{"Category:${equipment_type} with 9+ AA stat", equipment_type = Formatting:format_equipment_type_plural(equipment_type)})
end
+
-- end
elseif equipment_type == 12 or equipment_type == 13 or equipment_type == 93 then
+
if equipment_type == 12 or equipment_type == 13 or equipment_type == 93 then
 
local aa = self._equipment:aa()
 
local aa = self._equipment:aa()
 
if aa and aa >= 2 then
 
if aa and aa >= 2 then
advmod, cssedit, janitor, Moderators, prechecked, Widget editors
6,964

edits

Navigation menu