Skip to content

Commit

Permalink
Merge 6164702 into 8f24f72
Browse files Browse the repository at this point in the history
  • Loading branch information
ViVi-shark authored Jun 25, 2021
2 parents 8f24f72 + 6164702 commit 5bee07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bcdice/game_system/StellarKnights.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def eval_game_system_specific_command(command)
if (table = self.class::TABLES[command])
table.roll(@randomizer)
elsif (m = %r{([()+/\d]+)SK(\d)?((,\d>\d)+)?}.match(command))
num_dices = Arithmetic.eval(m[1], round_type: RoundType::FLOOR)
num_dices = Arithmetic.eval(m[1], RoundType::FLOOR)

unless num_dices.nil?
resolute_action(num_dices, m[2] && m[2].to_i, m[3])
Expand Down

0 comments on commit 5bee07c

Please sign in to comment.