Attack logic in command class