mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-26 14:56:52 -04:00
fix shad dominion rod seed generation failure
This commit is contained in:
@@ -299,10 +299,10 @@ namespace randomizer::logic::item_pool
|
||||
itemPool.erase("Gerudo Desert Bulblin Camp Key");
|
||||
}
|
||||
|
||||
// Remove sky book characters if we're starting with the sky canon open
|
||||
// Remove all but 1 sky book characters if we're starting with the sky canon open
|
||||
if (world->Setting("City Does Not Require Filled Skybook") == "On")
|
||||
{
|
||||
itemPool.erase("Progressive Sky Book");
|
||||
itemPool["Progressive Sky Book"] = 1;
|
||||
}
|
||||
|
||||
// Remove Small Keys if we're playing without them
|
||||
|
||||
@@ -679,10 +679,6 @@ namespace randomizer::logic::world
|
||||
(this->Setting("Big Keys") == "Keysy" && originalItem->IsBigKey()) ||
|
||||
(this->Setting("Maps and Compasses") == "Start With" &&
|
||||
(originalItem->IsDungeonMap() || originalItem->IsCompass())))) ||
|
||||
// Sky Characters are not randomized, but City in the Sky doesn't require Sky Book Characters (Sky characters
|
||||
// shouldn't exist)
|
||||
(this->Setting("Sky Characters") == "Off" && this->Setting("City Does Not Require Filled Skybook") == "On" &&
|
||||
location->HasCategories("Sky Character")) ||
|
||||
// We're starting with a shop item, but shop items aren't randomized
|
||||
(this->Setting("Shop Items") == "Off" && location->HasCategories("Shop") &&
|
||||
utility::container::ElementInContainer(this->_startingItemPool, originalItem)))
|
||||
|
||||
Reference in New Issue
Block a user