- 积分
- 4353
- 威望
- 0
- 魅力
- 0
- 经验
- 3857
- 热心度
- 0
- 注册时间
- 2019-8-14
- 最后登录
- 2024-3-23
- 主题
- 5
- 回帖
- 256
- 精华
- 0
- 阅读权限
- 50
TA的每日心情 | 开心 2024-3-23 12:26 |
---|
签到天数: 76 天 连续签到: 1 天 [LV.6]地狱战马
5级 Honorable Hero
- 积分
- 4353
|
楼主 |
发表于 2019-8-18 17:07:29
|
显示全部楼层
区域内物件生成机制是这样的
Treasure Generation
Zone treasures are generated as groups of objects. All objects of a group are adjacent, and share the same protection (if any). Each group falls into one of the three treasure categories that you can specify in zone settings. Each category is defined by a value range and a frequency. Value range control the value of the object group (defined as the sum of individual object values), and frequency controls the amount of object groups that will be generated (the amount of object groups is proportionnal to the frequency, but it also depends on zone size).
区域宝藏以物件组的形式生成。组中的所有物件都是相邻的,并且共享相同的保护(如果有的话)。每个组都属于您可以在区域设置中指定的三个宝藏类别之一。每个类别由值范围和频率定义。值范围控制物件组的值(定义为单个物件值的和),频率控制将要生成的物件组的数量(物件组的数量与频率成比例,但也取决于区域大小)。
Each group is generated as follows. A random number total_value is generated within the value range of the group’s treasure category. Then, an object with a value between total_value / 4 and total_value is randomly selected among valid objects for this zone. The probability for an object to be selected is proportionnal to its frequency.
每个组的生成如下。在组的宝藏类别的值范围内生成一个随机数total_value。然后,在此区域的有效物件中随机选择一个值介于total_value / 4和total_value之间的物件。物件的被选中概率与其频率成正比。
Then, as long as the value sum group_value of already generated objects meets one of the conditions total_value - group_value < 1500 or group_value < total_value / 2, another object with a value between 0.25*(total_value) and 1.25*(total_value - group_value) is randomly selected and added to the group. This process is reapeated until none of the 2 conditions are met, or no valid object can be found within the requested value range. Object groups can be made of a single object.
然后,只要已经生成的物件的组价值的价值总和满足其中一个条件: 总价值 – 组价值 < 1500 或 组价值 < 总价值 / 2,另一个价值在0.25 * (总价值) 和1.25 * (总价值 – 总价值) 之间的物件会被随机选择并添加到组。此过程将不断重复,直到两个条件都不满足,或者在请求的值范围内找不到有效物件。物件组可以由单个物件组成。
根据你说的情况,如果圣龙巢的物件价值极高,那么很高当你把价值调高到圣龙巢刚刚可以出现时,这个价值的范围内只有圣龙巢一种物件,那么系统就只能不停的生成圣龙巢。 |
|