refined attack value formula