Class: BCDice::GameSystem::NightWizard::Parsed2R6
- Defined in:
- lib/bcdice/game_system/NightWizard.rb
Instance Attribute Summary collapse
-
#passive_modify_number ⇒ Integer
常に適用される修正値.
Attributes inherited from Parsed
#active_modify_number, #cmp_op, #critical_numbers, #fumble_numbers, #prana, #target_number
Instance Method Summary collapse
Instance Attribute Details
#passive_modify_number ⇒ Integer
Returns 常に適用される修正値.
116 117 118 |
# File 'lib/bcdice/game_system/NightWizard.rb', line 116 def passive_modify_number @passive_modify_number end |
Instance Method Details
#to_s ⇒ String
119 120 121 |
# File 'lib/bcdice/game_system/NightWizard.rb', line 119 def to_s "2R6M[#{@passive_modify_number},#{@active_modify_number}]C[#{@critical_numbers.join(',')}]F[#{@fumble_numbers.join(',')}]#{@cmp_op}#{@target_number}" end |