Class: BCDice::GameSystem::Cthulhu7th_Korean::FullAuto
- Inherits:
-
Object
- Object
- BCDice::GameSystem::Cthulhu7th_Korean::FullAuto
- Includes:
- Rollable
- Defined in:
- lib/bcdice/game_system/cthulhu7th_Korean/full_auto.rb
Constant Summary collapse
- BONUS_DICE_RANGE =
(-2..2).freeze
- ROLL_FULL_AUTO_DIFFICULTY_THRESHOLD =
連射処理を止める条件(難易度の閾値): 연사 처리를 중지하는 조건(난이도 임계값) 成功の種類の小文字表記 => 難易度の閾値 : 성공 유형의 소문자 표기 => 난이도 임계값
{ # レギュラー : 보통 성공 "r" => 0, # ハード : 어려운 성공 "h" => 1, # イクストリーム : 극단적 성공 "e" => 2 }.freeze
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.eval(command, randomizer) ⇒ Object
22 23 24 |
# File 'lib/bcdice/game_system/cthulhu7th_Korean/full_auto.rb', line 22 def self.eval(command, randomizer) new.eval(command, randomizer) end |
Instance Method Details
#eval(command, randomizer) ⇒ Object
26 27 28 29 |
# File 'lib/bcdice/game_system/cthulhu7th_Korean/full_auto.rb', line 26 def eval(command, randomizer) @randomizer = randomizer get_full_auto_result(command) end |