revised attack a little bit

it wasn't letting you attack when you were holding an item and not using
it so i changed that