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 11:53, 12 May 2021
250 bytes added
,
3 years ago
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