Skip to content

Commit

Permalink
Merge branch 'main' into mlss
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbrq authored May 3, 2024
2 parents ded8b73 + b68be73 commit f42dc0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/tloz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,11 @@ def apply_randomizer(self):
rom_data[location_id] = item_id

# We shuffle the tiers of rupee caves. Caves that shared a value before still will.
secret_caves = self.multiworld.per_slot_randoms[self.player].sample(sorted(secret_money_ids), 3)
secret_caves = self.random.sample(sorted(secret_money_ids), 3)
secret_cave_money_amounts = [20, 50, 100]
for i, amount in enumerate(secret_cave_money_amounts):
# Giving approximately double the money to keep grinding down
amount = amount * self.multiworld.per_slot_randoms[self.player].triangular(1.5, 2.5)
amount = amount * self.random.triangular(1.5, 2.5)
secret_cave_money_amounts[i] = int(amount)
for i, cave in enumerate(secret_caves):
rom_data[secret_money_ids[cave]] = secret_cave_money_amounts[i]
Expand Down

0 comments on commit f42dc0b

Please sign in to comment.