예제 #1
0
        public RunningOperation CreateDeeper(int depth)
        {
            RunningOperation runningOp = new RunningOperation();

            runningOp.Name        = "GO DEEPER.";
            runningOp.Description = "By going DEEPER, we'll find new expeditions with more resources. Go DEEPER, go BETTER, Deeper CORP.\n\nCAUTION !!! This will replace all available expeditions.";
            runningOp.Depth       = depth;

            runningOp.Dig      = 0;
            runningOp.DigTotal = GetDig(depth, "HIGH");

            runningOp.AtqChallenge = new AtqChallenge();
            runningOp.DefChallenge = new DefChallenge();

            runningOp.CapsReward  = 0;
            runningOp.RootsReward = 0;

            return(runningOp);
        }
예제 #2
0
        public RunningOperation Create(int depth)
        {
            RefOperation refOp = RefLoader.RandomRefOperation(depth);

            RunningOperation runningOp = new RunningOperation();

            runningOp.Name        = refOp.Name;
            runningOp.Description = refOp.Description;
            runningOp.Depth       = depth;

            runningOp.Dig      = 0;
            runningOp.DigTotal = GetDig(depth, refOp.Dig);

            runningOp.AtqChallenge = CreateAtq(depth);
            runningOp.DefChallenge = CreateDef(depth);

            runningOp.CapsReward  = GetCapsReward(depth, refOp.CapsReward);
            runningOp.RootsReward = GetRootsReward(depth, refOp.RootsReward);

            return(runningOp);
        }