aded canAttackPlayer