diff --git a/lib/bcdice/game_system/AniMalus.rb b/lib/bcdice/game_system/AniMalus.rb index 25c878863..8979323e2 100644 --- a/lib/bcdice/game_system/AniMalus.rb +++ b/lib/bcdice/game_system/AniMalus.rb @@ -107,8 +107,8 @@ def resolute_attacking(command) dice = @randomizer.roll_barabara(3, 6).sort dice_text = dice.join(",") success_num = dice.count { |val| val <= num_target } - is_critical = (dice[0] == 1 && dice[1] == 2 && dice[2] == 3) - is_fumble = (dice[0] == 4 && dice[1] == 5 && dice[2] == 6) + is_critical = dice[0] == 1 && dice[1] == 2 && dice[2] == 3 + is_fumble = dice[0] == 4 && dice[1] == 5 && dice[2] == 6 damage1 = dice.max damage2 = dice.max if dice[0] == dice[1] && dice[1] == dice[2] && dice[2] <= num_target @@ -161,8 +161,8 @@ def resolute_guarding(command) dice = @randomizer.roll_barabara(3, 6).sort dice_text = dice.join(",") success_num = dice.count(num_target) - is_critical = (dice[0] == 1 && dice[1] == 2 && dice[2] == 3) - is_fumble = (dice[0] == 4 && dice[1] == 5 && dice[2] == 6) + is_critical = dice[0] == 1 && dice[1] == 2 && dice[2] == 3 + is_fumble = dice[0] == 4 && dice[1] == 5 && dice[2] == 6 return Result.new.tap do |result| result.critical = is_critical