Skip to content

Commit

Permalink
[DoubleCross] [DoubleCross:Korean] クリティカル情報を付与 (#431)
Browse files Browse the repository at this point in the history
* [DoubleCross] クリティカル情報を付与

* レビュー反映
  • Loading branch information
h-mikisato authored Apr 28, 2021
1 parent 27e2b18 commit 0eca4c9
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bcdice/game_system/DoubleCross.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ def result(value_groups)
achieved_value.to_s
end

r.critical = value_groups.length > 1

parts = [
"(#{@expression})",
"#{value_groups.join('+')}#{@modifier_str}",
Expand Down
Loading

0 comments on commit 0eca4c9

Please sign in to comment.