Added basic attack functionality