Skip to content

Commit

Permalink
BattleTech: Randomizer#rand_results を使わない
Browse files Browse the repository at this point in the history
  • Loading branch information
ochaochaocha3 committed May 22, 2021
1 parent 7c0b4e7 commit 4cde1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bcdice/game_system/BattleTech.rb
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def consciousness_roll(damage)

values = @randomizer.roll_barabara(2, 6)
sum = values.sum
values_str = @randomizer.rand_results.map(&:first).join(",")
values_str = values.join(",")
sum_and_values = "#{sum}[#{values_str}]"

success = sum >= target
Expand Down

0 comments on commit 4cde1fd

Please sign in to comment.