Class: BCDice::GameSystem::Fiasco
- Defined in:
- lib/bcdice/game_system/Fiasco.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Side
Constant Summary collapse
- ID =
ゲームシステムの識別子
'Fiasco'- NAME =
ゲームシステム名
'フィアスコ'- SORT_KEY =
ゲームシステム名の読みがな
'ふいあすこ'- HELP_MESSAGE =
ダイスボットの使い方
" \u30FB\u5224\u5B9A\u30B3\u30DE\u30F3\u30C9(FSx, WxBx)\n \u76F8\u95A2\u56F3\u30FB\u8EE2\u843D\u8981\u7D20\u7528(FSx)\uFF1A\u76F8\u95A2\u56F3\u3084\u8EE2\u843D\u8981\u7D20\u306E\u305F\u3081\u306Bx\u500B\u30C0\u30A4\u30B9\u3092\u632F\u308A\u3001\u51FA\u76EE\u3054\u3068\u306B\u5206\u985E\u3059\u308B\n \u9ED2\u767D\u5DEE\u5206\u5224\u5B9A\u7528(WxBx) \uFF1A\u8EE2\u843D\u3001\u6B8B\u97FF\u306E\u305F\u3081\u306B\u767D\u30C0\u30A4\u30B9(W\u6307\u5B9A)\u3068\u9ED2\u30C0\u30A4\u30B9(B\u6307\u5B9A)\u3067\u5DEE\u5206\u3092\u6C42\u3081\u308B\n \u203B W\u3068B\u306F\u7247\u65B9\u6307\u5B9A(Bx, Wx)\u3001\u5165\u66FF\u6307\u5B9A(WxBx,BxWx)\u53EF\u80FD\n"
Instance Attribute Summary
Attributes inherited from Base
#d66_sort_type, #default_cmp_op, #default_target_number, #randomizer, #reroll_dice_reroll_threshold, #round_type, #sides_implicit_d, #upper_dice_reroll_threshold
Instance Method Summary collapse
Methods inherited from Base
#change_text, #check_result, command_pattern, #enable_debug, #enabled_d9?, #eval, eval, #grich_text, #initialize, prefixes_pattern, register_prefix, register_prefix_from_super_class, #sort_add_dice?, #sort_barabara_dice?
Methods included from Translate
Constructor Details
This class inherits a constructor from BCDice::Base
Instance Method Details
#eval_game_system_specific_command(command) ⇒ Object
25 26 27 |
# File 'lib/bcdice/game_system/Fiasco.rb', line 25 def eval_game_system_specific_command(command) roll_fs(command) || roll_white_black(command) || roll_white_black_single(command) end |