class BCDice::GameSystem::YankeeYogSothoth
Constants
- HELP_MESSAGE
ダイスボットの使い方
- ID
ゲームシステムの識別子
- NAME
ゲームシステム名
- NICKNAME_TABLE1
- NICKNAME_TABLE2
- NICKNAME_TABLE3
- NICKNAME_TABLE4
- RTT
- SORT_KEY
ゲームシステム名の読みがな
- TABLES
Public Class Methods
new(command)
click to toggle source
Calls superclass method
BCDice::Base::new
# File lib/bcdice/game_system/YankeeYogSothoth.rb, line 46 def initialize(command) super(command) @d66_sort_type = D66SortType::ASC end
Public Instance Methods
eval_game_system_specific_command(command)
click to toggle source
# File lib/bcdice/game_system/YankeeYogSothoth.rb, line 62 def eval_game_system_specific_command(command) roll_tables(command, TABLES) || RTT.roll_command(randomizer, command) end
result_2d6(_total, dice_total, _dice_list, cmp_op, _target)
click to toggle source
ゲーム別成功度判定(2D6)
# File lib/bcdice/game_system/YankeeYogSothoth.rb, line 52 def result_2d6(_total, dice_total, _dice_list, cmp_op, _target) return nil unless cmp_op == :>= if dice_total <= 2 Result.fumble("ファンブル(判定失敗。ファンブル表(FT)を振ること)") elsif dice_total >= 12 Result.critical("スペシャル(判定成功。【テンション】が1段階上昇)") end end