diff --git a/lib/bcdice/game_system/StellarLife.rb b/lib/bcdice/game_system/StellarLife.rb index 29dcf6d11..0a364ee7a 100644 --- a/lib/bcdice/game_system/StellarLife.rb +++ b/lib/bcdice/game_system/StellarLife.rb @@ -71,8 +71,8 @@ def getJudgeResult(command) number.times do dice = @randomizer.roll_once(10) dice = 0 if dice == 10 - if (dice + correction).to_i >= single || dice == triple then success += 1 end - if (dice + correction).to_i >= double || dice == triple then success += 1 end + if (dice + correction) >= single || dice == triple then success += 1 end + if (dice + correction) >= double || dice == triple then success += 1 end if dice == triple then success += 1 end # unless triple == -1 3成功はダイス目一致時のみ if dicetext == "" dicetext = dice.to_s