yet another damage algorithm