From 1103d77ca5003bdce7a70507857013e8e08ee608 Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 30 Aug 2020 03:17:39 +0200 Subject: [PATCH] Adjust price shop option to 0.5 to 2.0 range --- ItemPool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ItemPool.py b/ItemPool.py index adf5c4b7..82fa2d6c 100644 --- a/ItemPool.py +++ b/ItemPool.py @@ -372,7 +372,7 @@ def shuffle_shops(world, items, player: int): if 'p' in option: def price_adjust(price: int) -> int: # it is important that a base price of 0 always returns 0 as new price! - return int(price * (0.5 + world.random.random() * 2)) + return int(price * (0.5 + world.random.random() * 1.5)) def adjust_item(item): if item: