Auto-attack working correctly now. Forgot to set unit faction id in server