• 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
Add HA+FD detection
Line 49: Line 49:  
_concentrated_label = "Concentrated",
 
_concentrated_label = "Concentrated",
 
_air_radar_label = "Air Radar",
 
_air_radar_label = "Air Radar",
 +
_high_angle_label = "High-angle",
 +
_plus_fire_director_label = " + Fire Director",
 
_library_name_label = "Library name",
 
_library_name_label = "Library name",
 
_list_name_label = "List name",
 
_list_name_label = "List name",
Line 232: Line 234:  
if aa and aa >= 2 then
 
if aa and aa >= 2 then
 
self._vars.eq_group = format{self._eq_group_template, eq_group = self._air_radar_label}
 
self._vars.eq_group = format{self._eq_group_template, eq_group = self._air_radar_label}
 +
end
 +
else
 +
local icon = self._equipment:icon()
 +
if icon and icon == 16 then
 +
local aa = self._equipment:aa()
 +
local eq_group = self._high_angle_label
 +
if aa and aa >= 8 then
 +
eq_group = eq_group .. self._plus_fire_director_label
 +
end
 +
self._vars.eq_group = format{self._eq_group_template, eq_group = eq_group}
 
end
 
end
 
end
 
end
Anonymous user

Navigation menu