Update damage.lua

* Add M.check_out() and M.out()
* Fix tab to spaces