• 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 423: Line 423:  
function EquipmentData:is_lbas_ha_bomber()
 
function EquipmentData:is_lbas_ha_bomber()
 
     return self:id() >= 501 and self:type() == 7 and self:range() == 4
 
     return self:id() >= 501 and self:type() == 7 and self:range() == 4
 +
end
 +
 +
function EquipmentData:is_lbas_attack_aircraft()
 +
    return self:type() == 47 or self:type() == 53
 
end
 
end
   Line 429: Line 433:  
return eq_type == 3 -- Large Caliber Main Gun
 
return eq_type == 3 -- Large Caliber Main Gun
 
or eq_type == 38 -- Large Caliber Main Gun (II)
 
or eq_type == 38 -- Large Caliber Main Gun (II)
 +
end
 +
 +
function EquipmentData:is_aafd()
 +
return self:aa() and self:aa() >= 8
 +
end
 +
 +
function EquipmentData:is_not_aafd()
 +
return not (self:is_aafd())
 
end
 
end
  
cssedit, gkautomate
7,064

edits

Navigation menu