Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

希望能追加暗影狂奔的定制骰子功能 #30

Open
DioseSchlieffen opened this issue Jun 1, 2020 · 1 comment
Open

希望能追加暗影狂奔的定制骰子功能 #30

DioseSchlieffen opened this issue Jun 1, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@DioseSchlieffen
Copy link

RT,感觉现在有专门D6骰池功能的骰子apk好像很少...如果有望追加SR的专用指令的话是真的感激不尽。
SR的两种基本骰子机制:
①骰池由数个D6构成,出5和6即为成功,出1为失败。
②爆骰规则:在爆骰规则下重丢出目为6的骰子,并将重丢的成功数计入总成功【例→掷5d6=(2,3,5,6,5,5)=4,前五个骰子中有一个6,则获得一枚加骰(即合计掷出的骰子数量为6),最后统计的4成功为原骰池成功+加骰获得的成功之和】

以及希望能提供一条捐款链接…感谢开发者的辛劳付出(合掌

@niunuinui
Copy link

看上去你要的功能和那个WOD的是类似的,不过就它是D10的,你这个是D6的。
懂代码在dice_roller.cpp

void roll::roll_wod(dice_roll& dice, int const i_val, int const i_diffculty, int const i_bonus, bool failing) {
    dice.clear();

    auto distr = random::create_distribution(1, 10);

这里应该好改

@dynilath dynilath added the enhancement New feature or request label Aug 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants