jinrou icon indicating copy to clipboard operation
jinrou copied to clipboard

about easyYaminabe

Open Sunev opened this issue 5 years ago • 2 comments

I noticed that in this block, server generates ruleinfo_str before the job replacement. Is that exactly what you want?

            if query.jobrule == "特殊ルール.easyYaminabe"
                # かんたん闇鍋のときは普通1がデフォ
                joblist = libcasting.fillJoblist Shared.game.normal1 playersnumber
                # 残りは村人
                joblist.Human = frees - libcasting.countJobsInJoblist(joblist)

                ruleinfo_str = getrulestr game.i18n, query.jobrule, joblist
                # ランダムに役職を選択して闇鍋化
                joblist = libcasting.easyReplaceJoblist joblist

Sunev avatar Apr 26 '19 12:04 Sunev

https://github.com/Sunev/jinrou/issues/89

Sunev avatar Apr 26 '19 12:04 Sunev

It's intentional; to not confuse users (especially without much experience), the server first shows the initial rule setting. Depending on setting, the result of manipulation should also by shown.

...However, it's a bug that one can enable 希望役職制 along with easyYaminabe.

uhyo avatar Apr 26 '19 16:04 uhyo