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

Vtm5th hunger limit #649

Merged
merged 2 commits into from
Nov 24, 2023
Merged

Conversation

FredGreenfield
Copy link
Contributor

【背景】
#644 に記載した通り、V5の現行ルールではHungerダイスの上限は5ダイスであるにも関わらず、6以上のダイス数を指定できてしまう。

【対応】
ルールを把握している限り運用上で大きな問題にはならないが、入力ミスに気付かない等のケースを拾うため、5ダイス以上のHungerダイス指定にエラーメッセージを出すように修正、テストケースの追加を行う。

Copy link

codecov bot commented Nov 19, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (aa7a35c) 95.60% compared to head (1b6314b) 95.60%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #649   +/-   ##
=======================================
  Coverage   95.60%   95.60%           
=======================================
  Files         341      341           
  Lines       19584    19586    +2     
  Branches     5101     5103    +2     
=======================================
+ Hits        18723    18725    +2     
  Misses        861      861           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ysakasin ysakasin merged commit b2b20f8 into bcdice:master Nov 24, 2023
8 checks passed
@FredGreenfield FredGreenfield deleted the vtm5th_hunger_limit branch November 30, 2023 11:53
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