Changes

m
no edit summary
Line 11: Line 11:  
     _equip_bg = "whitesmoke",
 
     _equip_bg = "whitesmoke",
 
     _header_template = nil,
 
     _header_template = nil,
     _calculated_cell_template = [[| colspan="6" style="background: whitesmoke;" |Effective Line of Sight: ${elos} / Fighter Power: ${fighter_power}]],
+
     _calculated_cell_template = [[| colspan="6" style="background: whitesmoke; text-align: center;" |Effective Line of Sight: ${elos} // Fighter Power: ${fighter_power}]],
 
     _column_cell_templates = {
 
     _column_cell_templates = {
 
         ship = [[| rowspan="4" style="background: transparent;" |${values.ship_card}]],
 
         ship = [[| rowspan="4" style="background: transparent;" |${values.ship_card}]],
Line 129: Line 129:  
                     self._elos = self._elos + (item:los() * multiplier[item:type()])
 
                     self._elos = self._elos + (item:los() * multiplier[item:type()])
 
                 end
 
                 end
                 self._fighter_power = self._fighter_power + math.floor(math.sqrt(select(2, ship:slot(slot_number))))
+
                 self._fighter_power = self._fighter_power + math.floor(math.sqrt(select(2, ship:slot(slot_number))) * item:aa())
 
             end
 
             end
 
         end
 
         end
48

edits