Update damage.lua

* Add M.rest() from bsdtrek rest.c