From e33ea0147bd19bcf4b03bb2cd25ff1d18aaa89f8 Mon Sep 17 00:00:00 2001 From: Alchav <59858495+Alchav@users.noreply.github.com> Date: Wed, 6 Mar 2024 10:43:34 -0500 Subject: [PATCH] LTTP: Missed per_slot_random change (#2907) --- worlds/alttp/Shops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/alttp/Shops.py b/worlds/alttp/Shops.py index 1d548d8f..dbe8cc1f 100644 --- a/worlds/alttp/Shops.py +++ b/worlds/alttp/Shops.py @@ -453,7 +453,7 @@ def get_price(multiworld, item, player: int, price_type=None): price = item["price"] if multiworld.randomize_shop_prices[player]: adjust = 2 if price < 100 else 5 - price = int((price / adjust) * (0.5 + multiworld.random.random() * 1.5)) * adjust + price = int((price / adjust) * (0.5 + multiworld.per_slot_randoms[player].random() * 1.5)) * adjust multiworld.per_slot_randoms[player].shuffle(price_types) for p_type in price_types: if any(x in item['item'] for x in price_blacklist[p_type]):