Class: BCDice::GameSystem::SwordWorld::RatingOptions
- Inherits:
-
Object
- Object
- BCDice::GameSystem::SwordWorld::RatingOptions
- Defined in:
- lib/bcdice/game_system/sword_world/rating_options.rb
Instance Attribute Summary collapse
- #critical ⇒ Integer?
- #first_modify ⇒ Integer?
- #first_to ⇒ Integer?
- #greatest_fortune ⇒ Boolean?
- #kept_modify ⇒ Integer?
- #modifier ⇒ Integer?
- #modifier_after_half ⇒ Integer?
- #modifier_after_one_and_a_half ⇒ Integer?
- #rateup ⇒ Integer?
- #semi_fixed_val ⇒ Integer?
- #tmp_fixed_val ⇒ Integer?
Instance Method Summary collapse
Instance Attribute Details
#critical ⇒ Integer?
8 9 10 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 8 def critical @critical end |
#first_modify ⇒ Integer?
17 18 19 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 17 def first_modify @first_modify end |
#first_to ⇒ Integer?
14 15 16 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 14 def first_to @first_to end |
#greatest_fortune ⇒ Boolean?
23 24 25 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 23 def greatest_fortune @greatest_fortune end |
#kept_modify ⇒ Integer?
11 12 13 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 11 def kept_modify @kept_modify end |
#modifier ⇒ Integer?
32 33 34 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 32 def modifier @modifier end |
#modifier_after_half ⇒ Integer?
35 36 37 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 35 def modifier_after_half @modifier_after_half end |
#modifier_after_one_and_a_half ⇒ Integer?
38 39 40 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 38 def modifier_after_one_and_a_half @modifier_after_one_and_a_half end |
#rateup ⇒ Integer?
20 21 22 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 20 def rateup @rateup end |
#semi_fixed_val ⇒ Integer?
26 27 28 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 26 def semi_fixed_val @semi_fixed_val end |
#tmp_fixed_val ⇒ Integer?
29 30 31 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 29 def tmp_fixed_val @tmp_fixed_val end |
Instance Method Details
#settable_first_roll_adjust_option? ⇒ Boolean
40 41 42 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 40 def settable_first_roll_adjust_option? return first_modify.nil? && first_to.nil? end |
#settable_non_2d_roll_option? ⇒ Boolean
44 45 46 |
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 44 def settable_non_2d_roll_option? return greatest_fortune.nil? && semi_fixed_val.nil? && tmp_fixed_val.nil? end |