Increase minimum storage space.
这个提交存在于:
父节点
17227e054a
当前提交
00669ea907
共有 1 个文件被更改,包括 3 次插入 和 3 次删除
|
@ -71,10 +71,10 @@ pr_island.GetMapPosition = function () {
|
|||
|
||||
pr_island.SetUp = function () {
|
||||
for (var i = 0; i < 16; i++) {
|
||||
this.storageSpace[i] = Math.round(Math.randomRange(10, 25));
|
||||
this.storageSpace[i] = Math.round(Math.randomRange(20, 35));
|
||||
|
||||
if (this.storageSpace[i] > 20) {
|
||||
this.inventory[i] = Math.round(this.storageSpace[i] - Math.randomRange(0, 10));
|
||||
if (this.storageSpace[i] > 30) {
|
||||
this.inventory[i] = Math.round(this.storageSpace[i] - Math.randomRange(0, 30));
|
||||
} else if (Math.randomRange(0, 100) < 25) {
|
||||
this.inventory[i] = Math.round(Math.randomRange(0, this.storageSpace[i]));
|
||||
}
|
||||
|
|
正在加载…
添加表格
在新工单中引用