public void MakeVillain(QuestTome book) { book.VillainHue = 0; book.VillainBody = 0; bool color = false; int enemy = Utility.RandomMinMax(1, 10); if (enemy == 1) { switch (Utility.RandomMinMax(0, 3)) { case 0: book.VillainType = "ArchFiend"; book.VillainName = NameList.RandomName("daemon"); book.VillainBody = Utility.RandomList(9, 320); color = true; book.VillainCategory = "a daemon"; break; case 1: book.VillainType = "ArchFiend"; book.VillainName = NameList.RandomName("demonic"); book.VillainBody = Utility.RandomList(191, 427); color = true; switch (Utility.RandomMinMax(0, 2)) { case 0: book.VillainCategory = "a balron"; break; case 1: book.VillainCategory = "a balor"; break; case 2: book.VillainCategory = "a balrog"; break; } break; case 2: book.VillainType = "ArchFiend"; book.VillainName = NameList.RandomName("devil"); book.VillainBody = Utility.RandomList(765, 804, 436, 88, 138); book.VillainCategory = "a devil"; break; case 3: book.VillainType = "Succubus"; book.VillainName = NameList.RandomName("goddess"); book.VillainBody = 174; color = true; switch (Utility.RandomMinMax(0, 2)) { case 0: book.VillainCategory = "a succubus"; break; case 1: book.VillainCategory = "a demoness"; break; case 2: book.VillainCategory = "a daemoness"; break; } break; } } else if (enemy == 2) { book.VillainCategory = "a giant"; book.VillainName = NameList.RandomName("giant"); switch (Utility.RandomMinMax(0, 17)) { case 0: book.VillainType = "AbyssGiant"; break; case 1: book.VillainType = "CloudGiant"; break; case 2: book.VillainType = "FireGiant"; break; case 3: book.VillainType = "ForestGiant"; break; case 4: book.VillainType = "FrostGiant"; break; case 5: book.VillainType = "HillGiant"; break; case 6: book.VillainType = "HillGiantShaman"; break; case 7: book.VillainType = "IceGiant"; break; case 8: book.VillainType = "JungleGiant"; break; case 9: book.VillainType = "LavaGiant"; break; case 10: book.VillainType = "MountainGiant"; break; case 11: book.VillainType = "SandGiant"; break; case 12: book.VillainType = "StarGiant"; break; case 13: book.VillainType = "StoneGiant"; break; case 14: book.VillainType = "StormGiant"; break; case 15: book.VillainType = "AncientCyclops"; book.VillainName = NameList.RandomName("greek"); book.VillainCategory = "a cyclops"; break; case 16: book.VillainType = "AncientEttin"; book.VillainCategory = "an ettin"; break; case 17: book.VillainType = "OgreLord"; book.VillainCategory = "an ogre"; break; } } else if (enemy == 3) { book.VillainCategory = "a dragon"; book.VillainName = NameList.RandomName("dragon"); switch (Utility.RandomMinMax(0, 24)) { case 0: book.VillainType = "Dragon"; book.VillainBody = Utility.RandomList(12, 59); color = true; break; case 1: book.VillainType = "AncientWyrm"; break; case 2: book.VillainType = "ShadowWyrm"; break; case 3: book.VillainType = "VolcanicDragon"; break; case 4: book.VillainType = "VoidDragon"; break; case 5: book.VillainType = "AshDragon"; break; case 6: book.VillainType = "CrystalDragon"; break; case 7: book.VillainType = "ElderDragon"; break; case 8: book.VillainType = "PrimevalAmberDragon"; break; case 9: book.VillainType = "VolcanicDragon"; break; case 10: book.VillainType = "PrimevalBlackDragon"; break; case 11: book.VillainType = "PrimevalDragon"; break; case 12: book.VillainType = "PrimevalFireDragon"; break; case 13: book.VillainType = "PrimevalGreenDragon"; break; case 14: book.VillainType = "PrimevalNightDragon"; break; case 15: book.VillainType = "PrimevalRedDragon"; break; case 16: book.VillainType = "PrimevalRoyalDragon"; break; case 17: book.VillainType = "PrimevalRunicDragon"; break; case 18: book.VillainType = "PrimevalSilverDragon"; break; case 19: book.VillainType = "PrimevalStygianDragon"; break; case 20: book.VillainType = "PrimevalVolcanicDragon"; break; case 21: book.VillainType = "VampiricDragon"; break; case 22: book.VillainType = "PrimevalAbysmalDragon"; break; case 23: book.VillainType = "AncientDrake"; book.VillainCategory = "a drake"; break; case 24: book.VillainType = "AncientWyvern"; book.VillainCategory = "a wyvern"; break; } } else if (enemy == 4) { book.VillainCategory = "a beholder"; Mobile m = new Beholder(); book.VillainType = "Beholder"; book.VillainName = m.Name; book.VillainHue = m.Hue; m.Delete(); } else if (enemy == 5) { if (Utility.RandomBool()) { book.VillainCategory = "a gargoyle"; book.VillainType = "StygianGargoyleLord"; book.VillainName = NameList.RandomName("gargoyle name"); } else { book.VillainCategory = "a sphinx"; book.VillainType = "AncientSphinx"; book.VillainName = NameList.RandomName("drakkul"); } } else if (enemy == 6) { if (Utility.RandomBool()) { book.VillainCategory = "a reptilian humanoid"; Mobile m = new Sleestax(); book.VillainType = "Sleestax"; book.VillainName = m.Name; book.VillainHue = m.Hue; m.Delete(); } else { book.VillainCategory = "a serpentoid"; book.VillainType = "OphidianKnight"; book.VillainName = NameList.RandomName("lizardman"); book.VillainBody = 306; } } else if (enemy == 7) { if (Utility.RandomBool()) { book.VillainCategory = "an arachnid"; book.VillainType = "AbyssCrawler"; book.VillainName = NameList.RandomName("goblin"); book.VillainBody = 173; } else { book.VillainCategory = "an insectoid"; book.VillainType = "AntaurKing"; book.VillainName = NameList.RandomName("goblin"); book.VillainBody = 784; } } else if (enemy == 8) { if (Utility.RandomBool()) { book.VillainCategory = "a reaper"; Mobile m = new EvilEnt(); book.VillainType = "EvilEnt"; book.VillainName = m.Name; book.VillainHue = m.Hue; m.Delete(); } else { book.VillainCategory = "an elemental"; book.VillainType = "CrystalGoliath"; book.VillainName = NameList.RandomName("urk"); book.VillainBody = 753; } } else if (enemy == 9) { switch (Utility.RandomMinMax(0, 4)) { case 0: book.VillainType = "Dracolich"; book.VillainName = NameList.RandomName("dragon"); book.VillainBody = Utility.RandomList(104, 323); book.VillainCategory = "a dracolich"; break; case 1: book.VillainType = "AncientLich"; book.VillainName = NameList.RandomName("ancient lich"); book.VillainCategory = "a lich"; break; case 2: book.VillainType = "AncientFleshGolem"; book.VillainName = NameList.RandomName("greek"); book.VillainBody = 999; book.VillainCategory = "a flesh golem"; break; case 3: book.VillainType = "GrundulVarg"; book.VillainName = NameList.RandomName("ancient lich"); book.VillainBody = Utility.RandomList(768, 65, 107); book.VillainCategory = "a dread lord"; break; case 4: book.VillainType = "GrundulVarg"; book.VillainName = NameList.RandomName("greek"); book.VillainBody = Utility.RandomList(768, 65, 107); book.VillainCategory = "a death knight"; break; } } else { switch (Utility.RandomMinMax(0, 3)) { case 0: book.VillainType = "Watcher"; book.VillainName = NameList.RandomName("drakkul"); book.VillainCategory = "a watcher"; break; case 1: book.VillainType = "Cerberus"; book.VillainName = NameList.RandomName("greek"); book.VillainCategory = "a cerberus"; break; case 2: book.VillainType = "Styguana"; book.VillainName = NameList.RandomName("lizardman"); book.VillainCategory = "a styguana"; break; case 3: book.VillainType = "HellBeast"; book.VillainName = NameList.RandomName("imp"); book.VillainCategory = "a hell beast"; break; } } book.VillainHue = 0; if (color) { book.VillainHue = Utility.RandomColor(0); } book.VillainTitle = RandomThings.RandomEvilTitle(); }