LTTP shop price modifier tweak
Ensure shop prices are a multiple of 5 after price modifier
This commit is contained in:
		| @@ -264,7 +264,7 @@ def ShopSlotFill(world): | |||||||
|                         price = world.random.randrange(8, 56) |                         price = world.random.randrange(8, 56) | ||||||
|  |  | ||||||
|                     shop.push_inventory(location.shop_slot, item_name, |                     shop.push_inventory(location.shop_slot, item_name, | ||||||
|                                         min(int(price * 5 * world.shop_price_modifier[location.player] / 100), 9999), 1, |                                         min(int(price * world.shop_price_modifier[location.player] / 100) * 5, 9999), 1, | ||||||
|                                         location.item.player if location.item.player != location.player else 0) |                                         location.item.player if location.item.player != location.player else 0) | ||||||
|                     if 'P' in world.shop_shuffle[location.player]: |                     if 'P' in world.shop_shuffle[location.player]: | ||||||
|                         price_to_funny_price(shop.inventory[location.shop_slot], world, location.player) |                         price_to_funny_price(shop.inventory[location.shop_slot], world, location.player) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Alchav
					Alchav