   slots = handleSlot ship.items
   shipDetail[2] = slots.ids
   shipDetail[3] = slots.lvs
+  shipDetail[4] = slots.alvs
 
   shipDetail
 

handleSlot = (slots) ->
  slotId = []
  slotLv = []
  for i in [1..4]
    slot = 'i' + i.toString()
    if slots.hasOwnProperty(slot)

        slotLv.push slots[slot].rf
      else
        slotLv.push null
      if slots[slot].rp? > 0
        slotAlv.push slots[slot].rp
      else
        slotAlv.push null
  if slots.ix?.id?
    slotId.push slots.ix.id
    slotLv.push null

  ids: slotId
  lvs: slotLv
  alvs: slotAlv

handleShip = (ship) ->
  shipDetail = Object.clone emptyShip
