Class: BCDice::GameSystem::DoubleCross
- Defined in:
- lib/bcdice/game_system/DoubleCross.rb
Direct Known Subclasses
Defined Under Namespace
Classes: DX, ValueGroup
Constant Summary collapse
- ID =
ゲームシステムの識別子
'DoubleCross'- NAME =
ゲームシステム名
'ダブルクロス2nd,3rd'- SORT_KEY =
ゲームシステム名の読みがな
'たふるくろす2'- HELP_MESSAGE =
ダイスボットの使い方
"\u30FB\u5224\u5B9A\u30B3\u30DE\u30F3\u30C9\uFF08xDX+y@c or xDXc+y\uFF09\n\u3000\"(\u500B\u6570)DX(\u4FEE\u6B63)@(\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB\u5024)\" \u3082\u3057\u304F\u306F \"(\u500B\u6570)DX(\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB\u5024)(\u4FEE\u6B63)\" \u3067\u6307\u5B9A\u3057\u307E\u3059\u3002\n\u3000\u4FEE\u6B63\u5024\u3082\u4ED8\u3051\u3089\u308C\u307E\u3059\u3002\n\u3000\u4F8B\uFF0910dx\u3000\u300010dx+5@8\uFF08OD tool\u5F0F)\u3000\u30005DX7+7-3\uFF08\u75BE\u98A8\u6012\u6FE4\u5F0F\uFF09\n\n\u30FB\u5404\u7A2E\u8868\n\u3000\u30FB\u611F\u60C5\u8868\uFF08ET\uFF09\n\u3000\u3000\u30DD\u30B8\u30C6\u30A3\u30D6\u3068\u30CD\u30AC\u30C6\u30A3\u30D6\u306E\u4E21\u65B9\u3092\u632F\u3063\u3066\u3001\u8868\u306B\u306A\u3063\u3066\u3044\u308B\u5074\u306B\u25CB\u3092\u4ED8\u3051\u3066\u8868\u793A\u3057\u307E\u3059\u3002\n\u3000\u3000\u3082\u3061\u308D\u3093\u4EFB\u610F\u3067\u9078\u3076\u90E8\u5206\u306F\u5909\u66F4\u3057\u3066\u69CB\u3044\u307E\u305B\u3093\u3002\n\n\u30FBD66\u30C0\u30A4\u30B9\u3042\u308A\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
-
#eval_game_system_specific_command(command) ⇒ String?
ダイスボット固有コマンドの処理を行う.
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) ⇒ String?
ダイスボット固有コマンドの処理を行う
204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/bcdice/game_system/DoubleCross.rb', line 204 def eval_game_system_specific_command(command) if (dx = parse_dx(command)) return dx.execute(@randomizer) end if command == 'ET' return roll_emotion_table() end return nil end |