Exemplo n.º 1
0
        public RNGInfo(IRNG rng, int offset, Chest chestInfo1, Chest chestInfo2)
        {
            UInt32 prng1 = rng.PeekRand(offset);
            UInt32 prng2 = rng.PeekRand(offset + 1);
            UInt32 prng3 = rng.PeekRand(offset + 2);

            this.RawRNG         = prng1;
            this.StealNormal    = Steal.CheckSteal(prng1, prng2, prng3);
            this.StealWithCuffs = Steal.CheckStealCuffs(prng1, prng2, prng3);

            Chest1 = chestInfo1.CheckChest(prng1, prng2);
            Chest2 = chestInfo2.CheckChest(prng1, prng2);
        }
Exemplo n.º 2
0
 protected override bool GenerateAndCheckResult(IRNG rng, int offset = 0)
 {
     return(Steal.CheckSteal(rng, offset, Cuffs).SameOrBetter(DesiredResult));
 }