compute attack/range/rate parameters