Skip to content

Commit e33ea01

Browse files
authored
LTTP: Missed per_slot_random change (#2907)
1 parent db30a01 commit e33ea01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worlds/alttp/Shops.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def get_price(multiworld, item, player: int, price_type=None):
453453
price = item["price"]
454454
if multiworld.randomize_shop_prices[player]:
455455
adjust = 2 if price < 100 else 5
456-
price = int((price / adjust) * (0.5 + multiworld.random.random() * 1.5)) * adjust
456+
price = int((price / adjust) * (0.5 + multiworld.per_slot_randoms[player].random() * 1.5)) * adjust
457457
multiworld.per_slot_randoms[player].shuffle(price_types)
458458
for p_type in price_types:
459459
if any(x in item['item'] for x in price_blacklist[p_type]):

0 commit comments

Comments
 (0)