From 5a8cb0cdf76d65e096bd9aeda6ee9c6246a31134 Mon Sep 17 00:00:00 2001 From: AShifter Date: Sat, 11 Mar 2017 09:24:15 -0700 Subject: I don't think Michael liked the ShiftLotto limits so i fixed it - 1 billion limit combined --- ShiftOS.WinForms/Applications/ShiftLotto.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ShiftOS.WinForms/Applications/ShiftLotto.cs') diff --git a/ShiftOS.WinForms/Applications/ShiftLotto.cs b/ShiftOS.WinForms/Applications/ShiftLotto.cs index 7acba3e..4b1c983 100644 --- a/ShiftOS.WinForms/Applications/ShiftLotto.cs +++ b/ShiftOS.WinForms/Applications/ShiftLotto.cs @@ -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."); } -- cgit v1.2.3