• 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
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

Navigation menu