Skip to content

[Chronicles of Darkness]ダイスボット作成#861

Merged
ysakasin merged 4 commits intobcdice:masterfrom
FredGreenfield:CofD_Add_Dicebot
Apr 8, 2026
Merged

[Chronicles of Darkness]ダイスボット作成#861
ysakasin merged 4 commits intobcdice:masterfrom
FredGreenfield:CofD_Add_Dicebot

Conversation

@FredGreenfield
Copy link
Copy Markdown
Contributor

@FredGreenfield FredGreenfield commented Mar 9, 2026

1.背景
「Chronicles of Darkness 2nd Edition」
(Developer Onyx Path Publishing, Published December 12, 2015)
2004年に出版されたWorld of Darknessの第二版。2015年にWorld of Darknessから、Chronicles of Darknessに変更されたもの。

https://theonyxpath.com/announcing-chronicles-of-darkness/

 旧来のWorld of Darkness(1991年―2004)とは別システムとなっており、判定方法も異なるため、新たにダイスボットを作成した。作成経緯については以下の通り。

1)Discordサーバ bcdice-helpにて、World of Darkness(以後、WoD)ダイスボットにバグ報告・修正依頼
https://discord.com/channels/757618761854484591/757624116965670993/1467539711328391311
2)最後に修正したフレッド緑野が対応
  ・バグは再現せず
  ・追加依頼はダイスボット対象のWoDではなく新規スタートの別システム、現Chronicles of Darkness(以後、CofD)のことだと判明
3)Discordサーバ BCDice Official Chatにて、フレッド緑野が新規作成の可否を問う
https://discord.com/channels/597133335243784192/598145833170501653/1468947658159951966
4)許可を得たので、希望者の使用しているシステム(CofD2e)をダイスボットとして追加

2.ダイスボット名
 Chronicles of Darkness 2nd Editionを対象としているため、Chronicles of Darkness2eとした。1st Editionとの違いは、判定でオプションになっているものが基本に組み入れられたり(武器修正:1st ⇒ 基本ダイスプールに加算、オプションとして成功後に成功数加算、2nd ⇒ 基本は成功後に成功数加算)する程度であり、まとめてChronicles of Darknessダイスボットとする案もありえた。
 しかし、1stがコアルールを基本としてサプリメントで広がる構造であるのに対し、2eは1stのサプリメントに位置するルールが全てコアルールとなっており、今回のターゲットであるCofD2eは独立コアルールであるため、個別に2eのダイスボットとして実装することにした。
 2eの各システムは基本判定が同じであるため、各システムの差分を実装するなら将来的にこのダイスボットから派生することになると思われる。

3.コマンド
  CofDから取ってCDとした。WoDで難易度として設定されていたものは存在しないため、ダイスプールのダイスがひとつでも成功ならば成功、ダイスプールがペナルティなどで0になったときにChance Rollが発生し、その時に"1"が出た時のみファンブル相当のDramatic Failureが発生するようになる。ダイスプールに値を渡すときにBCDiceが先に計算式を展開することを考え、0ではなくマイナスでもChance Rollが発生するように実装した。
 難易度や必要成功数といった概念が通常判定には無いが値を比べあうContested Action は存在するため、将来的に別コマンドあるいは既存コマンドのオプションとして実装する可能性はありえる。

コマンド書式:CDx[@[8-10]][W(d)][A(s)]
x:ダイスプール(0以下でChance Roll)
c:振り足し閾値(省略可、省略時は10)。8-10の値を取る。Chance Rollには適用されない。
d:武器ダメージ修正(省略可)。判定による成功数が1以上のときにダメージとして修正値を足して表記される。
s:自動成功数(省略可)。成功数に合計される。

【判定による結果】
5成功以上(Exceptional Success)   :critical判定
chance dieで1(Dramatic Failure)   :fumble判定
1-4成功、必要成功数以上      :成功
0成功、必要成功数未満      :失敗

@FredGreenfield FredGreenfield changed the title Chronicles of Darknessダイスボット作成 [Chronicles of Darkness]ダイスボット作成 Mar 9, 2026
読み仮名に版数が入っていなかった問題修正。
end

# make_dice_rollの内部処理
def _roll_dice_pool(dice_pool, again_number, chance_roll)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

すでに private にしているため、メソッド名を _ で始める意義はなさそうです。 roll_dice_pool にしてしまってください。もし、別の理由で _ で始めているのなら適切な名前に変更してください。

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ご指摘ありがとうございます。了解いたしました。
roll_dice_poolに変更しますので少々お待ちください。

@ysakasin ysakasin merged commit 978efc1 into bcdice:master Apr 8, 2026
8 checks passed
@ysakasin
Copy link
Copy Markdown
Member

ysakasin commented Apr 8, 2026

@FredGreenfield 寄稿と修正ありがとうございます。マージしました。

@FredGreenfield FredGreenfield deleted the CofD_Add_Dicebot branch April 8, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants