fixed lineendings
calling items damage function