Compare commits

...

1 Commits

Author SHA1 Message Date
mikx d39c72f45c help wait for keys + string correction 2020-06-17 01:56:38 -04:00
1 changed files with 5 additions and 2 deletions

View File

@ -9,20 +9,23 @@ namespace MxARK_LevelGen
{ {
class Program class Program
{ {
public static string version = "1.0.0"; public static string version = "1.1.0";
static void Main(string[] args) static void Main(string[] args)
{ {
msg.Splash(); msg.Splash();
if (args.Count() < 3) if (args.Count() < 3)
{ {
msg.CMW("Bad usage. Exemple:",true,3); msg.CMW("Error! Arguments missing. Exemple:",true,3);
msg.CMW("MxARK_LevelGen.exe <maxlevel> <startexp> <increment%> <engramperlevel>", true, 3); msg.CMW("MxARK_LevelGen.exe <maxlevel> <startexp> <increment%> <engramperlevel>", true, 3);
msg.CMW("MxARK_LevelGen.exe 500 5000 5 20", true, 3); msg.CMW("MxARK_LevelGen.exe 500 5000 5 20", true, 3);
msg.CMW("Max level is 500.", true, 3); msg.CMW("Max level is 500.", true, 3);
msg.CMW("Experience start at 5000.", true, 3); msg.CMW("Experience start at 5000.", true, 3);
msg.CMW("Experience needed increase by 5% every level.", true, 3); msg.CMW("Experience needed increase by 5% every level.", true, 3);
msg.CMW("You get 20 engram points per level.", true, 3); msg.CMW("You get 20 engram points per level.", true, 3);
msg.CMW("", false, 3);
msg.CMW("Press any key to exit...", true, 3);
Console.ReadKey();
} else if (args[0] != null && args[1] != null && args[2] != null && args[3] != null) } else if (args[0] != null && args[1] != null && args[2] != null && args[3] != null)
{ {
int maxlevel = Convert.ToInt32(args[0]); int maxlevel = Convert.ToInt32(args[0]);