Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

コード:レイヤードのバグ修正と機能追加 #270

Merged
merged 3 commits into from
Aug 26, 2020

Conversation

GenKuzumochi
Copy link
Contributor

  • 冗長な判定値表示をしないように(判定値[6] は基本的なルールで原則変動しない)
  • ファンブル判定のルールミスを修正
  • ダイスの個数が0以下の場合の処理を実装(P123)
    • ダイスは1個となり、クリティカルは発生しない

@codecov
Copy link

codecov bot commented Aug 24, 2020

Codecov Report

Merging #270 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #270   +/-   ##
=======================================
  Coverage   87.87%   87.88%           
=======================================
  Files         225      225           
  Lines       22903    22907    +4     
=======================================
+ Hits        20127    20131    +4     
  Misses       2776     2776           
Impacted Files Coverage Δ
src/diceBot/CodeLayerd.rb 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9ed819f...6e5746c. Read the comment docs.

@ysakasin ysakasin self-requested a review August 25, 2020 08:23
@ysakasin
Copy link
Member

@GenKuzumochi
寄稿ありがとうございます! 一点だけ確認があります。

ダイスの個数が0以下の場合には、振るダイスの数が0個になり、クリティカルが発生しなくなるという処理はルールブックで規定されている処理ということで間違いないですか?

@ysakasin ysakasin added the enhance dicebot ダイスボットへの機能追加 label Aug 25, 2020
@GenKuzumochi
Copy link
Contributor Author

ルールブックの規定通りに実装しています。
原文は「ダイスロールできるダイスの数が0個以下になった場合は、判定に使用するダイスの数は1個となり、クリティカルは発生しないものとする。」です。

@ysakasin ysakasin merged commit fb40583 into bcdice:master Aug 26, 2020
@ysakasin
Copy link
Member

マージしました。寄稿ありがとうございます!

ysakasin added a commit that referenced this pull request Aug 30, 2020
コード:レイヤードのバグ修正と機能追加
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhance dicebot ダイスボットへの機能追加
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants