use defense as the second arg when comparing handcard and hp in AI