I don't think Michael liked the ShiftLotto limits

so i fixed it - 1 billion limit combined
This commit is contained in:
AShifter 2017-03-11 09:24:15 -07:00
parent d15965e442
commit 5a8cb0cdf7
2 changed files with 9 additions and 2 deletions

View file

@ -129,7 +129,7 @@ namespace ShiftOS.WinForms.Applications
//
this.cpUpDown.Location = new System.Drawing.Point(22, 138);
this.cpUpDown.Maximum = new decimal(new int[] {
10000,
1000000,
0,
0,
0});
@ -150,6 +150,11 @@ namespace ShiftOS.WinForms.Applications
// difUpDown
//
this.difUpDown.Location = new System.Drawing.Point(299, 138);
this.difUpDown.Maximum = new decimal(new int[] {
1000,
0,
0,
0});
this.difUpDown.Minimum = new decimal(new int[] {
10,
0,

View file

@ -81,7 +81,7 @@ namespace ShiftOS.WinForms.Applications
int codePoints = Convert.ToInt32(Math.Round(cpUpDown.Value, 0));
int difficulty = Convert.ToInt32(Math.Round(difUpDown.Value, 0));
if (SaveSystem.CurrentSave.Codepoints <= 1)
if (SaveSystem.CurrentSave.Codepoints <= 9)
{
Infobox.Show("Not enough Codepoints", "You do not have enough Codepoints to use ShiftLotto!");
}
@ -121,6 +121,8 @@ namespace ShiftOS.WinForms.Applications
// Remove Codepoints
SaveSystem.TransferCodepointsToVoid(jackpot);
// Infobox
Infobox.Show("YOU FAILED!", "Sorry! " + jackpot.ToString() + " CP has been removed from your account.");
}