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.
parent is not the same as target. Please consider renaming the variable(s) to be more accurate.