Fix assignment trait error with nonliving entities

nonliving entity would throw an error when combat is done.
Also document list.contains