示例#1
0
 public Raffle(RaffleInfo info, BdatCollection tables)
 {
     Cylinder     = info.Cylinder;
     SkillLevel   = info.SalvageMasteryLevel;
     ButtonLevel  = info.ButtonChallengeLevel;
     SalvagePoint = tables.FLD_SalvagePointList[info.SalvagePoint];
     SalvageTable = SalvagePoint._SalvageTable[(int)Cylinder];
     Rand         = new Random();
 }
示例#2
0
        public static void Run(BdatCollection tables)
        {
            var info = new RaffleInfo
            {
                SalvagePoint         = 11,
                Cylinder             = CylinderType.Normal,
                SalvageMasteryLevel  = 0,
                ButtonChallengeLevel = 0
            };

            var raffle = new Raffle(info, tables);

            raffle.Create();
        }