Risk of Rain 2: logic updates

This commit is contained in:
alwaysintreble
2021-10-04 22:28:40 -05:00
parent a5e9c4af03
commit 990141df47
4 changed files with 34 additions and 16 deletions

View File

@@ -38,13 +38,13 @@ class RiskOfRainWorld(World):
if pool_option == 5:
junk_pool = {
"Item Scrap, Green": self.world.random.randint(0, 80),
"Item Scrap, Red": self.world.random.randint(0, 40),
"Item Scrap, Yellow": self.world.random.randint(0, 50),
"Item Scrap, Red": self.world.random.randint(0, 45),
"Item Scrap, Yellow": self.world.random.randint(0, 30),
"Item Scrap, White": self.world.random.randint(0, 100),
"Common Item": self.world.random.randint(0, 100),
"Uncommon Item": self.world.random.randint(0, 70),
"Legendary Item": self.world.random.randint(0, 45),
"Boss Item": self.world.random.randint(0, 30),
"Legendary Item": self.world.random.randint(0, 300),
"Boss Item": self.world.random.randint(0, 20),
"Lunar Item": self.world.random.randint(0, 60),
"Equipment": self.world.random.randint(0, 40)
}
@@ -65,7 +65,8 @@ class RiskOfRainWorld(World):
}
if not self.world.enable_lunar[self.player]:
junk_pool.pop("Lunar Item")
if not pool_option == 4:
junk_pool.pop("Lunar Item")
# Generate item pool
itempool = []