Class: BCDice::GameSystem::SwordWorld::RatingOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/bcdice/game_system/sword_world/rating_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#add_damageInteger?



26
27
28
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 26

def add_damage
  @add_damage
end

#criticalInteger?



8
9
10
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 8

def critical
  @critical
end

#first_modifyInteger?



17
18
19
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 17

def first_modify
  @first_modify
end

#first_modify_sspInteger?



20
21
22
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 20

def first_modify_ssp
  @first_modify_ssp
end

#first_toInteger?



14
15
16
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 14

def first_to
  @first_to
end

#greatest_fortuneBoolean?



29
30
31
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 29

def greatest_fortune
  @greatest_fortune
end

#kept_modifyInteger?



11
12
13
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 11

def kept_modify
  @kept_modify
end

#modifierInteger?



41
42
43
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 41

def modifier
  @modifier
end

#modifier_after_doubleInteger?



50
51
52
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 50

def modifier_after_double
  @modifier_after_double
end

#modifier_after_halfInteger?



44
45
46
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 44

def modifier_after_half
  @modifier_after_half
end

#modifier_after_one_and_a_halfInteger?



47
48
49
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 47

def modifier_after_one_and_a_half
  @modifier_after_one_and_a_half
end

#rateupInteger?



23
24
25
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 23

def rateup
  @rateup
end

#semi_fixed_valInteger?



32
33
34
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 32

def semi_fixed_val
  @semi_fixed_val
end

#set_zero_valInteger?



38
39
40
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 38

def set_zero_val
  @set_zero_val
end

#tmp_fixed_valInteger?



35
36
37
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 35

def tmp_fixed_val
  @tmp_fixed_val
end

Instance Method Details

#settable_first_roll_adjust_option?Boolean



52
53
54
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 52

def settable_first_roll_adjust_option?
  return first_modify.nil? && first_to.nil? && first_modify_ssp.nil?
end

#settable_non_2d_roll_option?Boolean



56
57
58
# File 'lib/bcdice/game_system/sword_world/rating_options.rb', line 56

def settable_non_2d_roll_option?
  return greatest_fortune.nil? && semi_fixed_val.nil? && tmp_fixed_val.nil?
end