public TimedMethod[] Summon() { System.Random rng = new System.Random(); int seed; Character current; for (int i = 0; i < 3; i++) { seed = rng.Next(10); if (seed == 0) { current = new CSMajor(); } else if (seed == 1) { current = new MusicMajor(); } else if (seed == 2) { current = new PoliticalScientist(); } else if (seed == 3) { current = new FootballPlayer(); } else if (seed == 4) { current = new BusinessMajor(); } else if (seed == 5) { current = new EnglishMajor(); } else if (seed == 6) { current = new ChemistryMajor(); } else if (seed == 7) { current = new CJMajor(); } else if (seed == 8) { current = new CulinaryMajor(); } else { current = new PsychMajor(); } current.SetRecruitable(false); Party.AddEnemy(current); } return(new TimedMethod[] { new TimedMethod(60, "Log", new object[] { ToString() + "Surrounded themself with minions" }) }); }
public Character[] GetChoices() { Character[] choices = new Character[2]; switch (Map.currentPosition) { case "tower": choices[0] = new CJMajor(); choices[1] = new PoliticalScientist(); break; case "dining": choices[0] = new CulinaryMajor(); choices[1] = new EnglishMajor(); break; case "research": choices[0] = new ChemistryMajor(); choices[1] = new MathMajor(); break; case "sports": choices[0] = new FootballPlayer(); choices[1] = new AerospaceEngineer(); break; case "art": choices[0] = new DanceMajor(); choices[1] = new MusicMajor(); break; case "health": choices[0] = new PreMed(); choices[1] = new PsychMajor(); break; case "lecture": choices[0] = new HistoryMajor(); choices[1] = new BusinessMajor(); break; } return(choices); }