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(); }
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(); }