Add support for calculating attack target on the server