Damage implementation

Damages aren't fully implemented yet, but I'm opening this pull request to have a reply about what I've already done.
Whitespace