Added (unfinished) damage calculation, and more.