Server side logic for attacking