Fred counter attack calculation: eliminate now unused variables