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 01:09, 3 July 2018
484 bytes added
,
6 years ago
m
no edit summary
Line 330:
Line 330:
local result = { self._bonus_header }
local result = { self._bonus_header }
for ship, stats in pairs(self._equipment._bonus or {}) do
for ship, stats in pairs(self._equipment._bonus or {}) do
+
local s = stats or {}
table.insert(result, format{
table.insert(result, format{
self._bonus_row,
self._bonus_row,
ship = ship,
ship = ship,
−
stats = Formatting:format_stat_bonuses(
stats
)
+
stats = Formatting:format_stat_bonuses(
{
+
firepower = s._firepower,
+
bombing = s._bombing,
+
torpedo = s._torpedo,
+
aa = s._aa,
+
armor = s._armor,
+
asw = s._asw,
+
shelling_accuracy = s._shelling_accuracy,
+
torpedo_accuracy = s._torpedo_accuracy,
+
evasion = s._evasion,
+
los = s._los,
+
speed = s._speed,
+
luck = s._luck,
+
range = s._range,
+
special = s._special,
+
}
)
})
})
end
end
がか
cssedit, gkautomate
7,064
edits