simplified attack calculation