瀏覽代碼

You can directly look for trouble in the wilderness now

tags/v0.2.8
Fen Dweller 7 年之前
父節點
當前提交
502dddb758
共有 1 個檔案被更改,包括 16 行新增0 行删除
  1. +16
    -0
      objects.js

+ 16
- 0
objects.js 查看文件

@@ -168,4 +168,20 @@ function WildernessExplore(natureTrail) {
}
});

this.actions.push({
"name": "Look for trouble",
"action": function() {
let outcome = Math.random();
advanceTime(60*15);

if (outcome < 0.33) {
startCombat(new Trance());
} else if (outcome < 0.66) {
startCombat(new Taluthus());
} else {
startCombat(new Selicia());
}
}
});

}

Loading…
取消
儲存