Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EquipmentInfoKai
(view source)
Revision as of 18:02, 10 December 2016
212 bytes removed
,
7 years ago
no edit summary
Line 126:
Line 126:
function EquipmentInfoKai:flight_stats()
function EquipmentInfoKai:flight_stats()
−
local eq_type =
self._equipment:
type
()
+
if
self._equipment:
is_lbas_plane
() then
−
if eq_type == 6 or eq_type == 7 or eq_type == 8 or eq_type == 9 or eq_type == 11 or eq_type == 10 or eq_type == 41 or eq_type == 45 or eq_type == 47 or eq_type == 48 or eq_type == 94
then
+
self._vars.flight_stats = format{self._flight_stats_template, combat_radius = Formatting:format_stat(self._equipment:combat_radius()), deployment_cost = Formatting:format_resources(self._equipment:deployment_cost())}
−
self._vars.flight_stats = format{self._flight_stats_template, combat_radius = Formatting:format_stat(self._equipment:combat_radius()), deployment_cost = Formatting:format_resources(self._equipment:deployment_cost())}
+
else
−
else
+
self._vars.flight_stats = ""
−
self._vars.flight_stats = ""
+
end
−
end
end
end
がか
cssedit, gkautomate
7,060
edits