Require ganon item setting
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
public const int MULTI_TRIES = 100;
|
||||
public const int SINGLE_TRIES = 5;
|
||||
|
||||
private static readonly Random random = new();
|
||||
|
||||
public BaseRandomizer(
|
||||
AzureStorage azureStorage,
|
||||
CommonSettingsProcessor settingsProcessor,
|
||||
@@ -64,10 +66,20 @@
|
||||
args.Add("--shuffletavern");
|
||||
}
|
||||
|
||||
if (settings.Randomizer == RandomizerInstance.Beta) {
|
||||
if (random.NextDouble() < 0.25) {
|
||||
args.Add("--orange_potion");
|
||||
}
|
||||
}
|
||||
|
||||
if (settings.DoorShuffle == DoorShuffle.Vanilla) {
|
||||
settings.DoorTypeMode = DoorTypeMode.Original;
|
||||
}
|
||||
|
||||
if (settings.GanonItem == GanonItem.None) {
|
||||
settings.RequireGanonItem = RequireGanonItem.SilverlessAllowed;
|
||||
}
|
||||
|
||||
foreach (var arg in SettingsProcessor.GetSettings(settings.Randomizer, settings)) {
|
||||
args.Add(arg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user