/vqdr/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/vqdr/trunk

« back to all changes in this revision

Viewing changes to src/libvqdr/operator/dice_operator_token.vala

  • Committer: Gustav Hartvigsson
  • Date: 2022-06-01 18:16:29 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20220601181629-meq45diu7dh8iied
Made sure that no text rows exeed 80 columns.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
      dice = new Dice (l_result, (int32) r_child.result_value.number);
58
58
      result_value = FastNumber (dice.roll ());
59
59
      
60
 
      /*Max Result: The max of the dice faces multiplied my the max of the dice
61
 
       * numbers.
 
60
      /* Max Result: The max of the dice faces multiplied my the max of the
 
61
       * dice numbers.
62
62
       */
63
63
      // This was very complicated for no reason in the original code...
64
64
      result_max_value = FastNumber (l_max_result * 
65
65
                                     r_child.result_max_value.number);
66
 
      /* Min Result: The min of the dice faces multiplied my the max of the dice
67
 
       * numbers.
 
66
      /* Min Result: The min of the dice faces multiplied my the max of the
 
67
       * dice numbers.
68
68
       */
69
69
      // This was very complicated for no reason in the original code...
70
70
      result_max_value = FastNumber (l_min_result *