Class: BCDice::GameSystem::TrailOfCthulhu
- Defined in:
- lib/bcdice/game_system/TrailOfCthulhu.rb
Constant Summary collapse
- ID =
ゲームシステムの識別子
'TrailOfCthulhu'- NAME =
ゲームシステム名
'トレイル・オブ・クトゥルー'- SORT_KEY =
ゲームシステム名の読みがな
'とれいるおふくとうるう'- HELP_MESSAGE =
ダイスボットの使い方
"\u25A0\u6280\u80FD\u5224\u5B9A\u3000TCb[>=t] b:\u6D88\u8CBB\u30D7\u30FC\u30EB\u30FB\u30DD\u30A4\u30F3\u30C8 t:\u96E3\u6613\u5EA6(\u7701\u7565\u53EF\u80FD)\n\n\u4F8B)TC2>=5:\u6D88\u8CBB\u30D7\u30FC\u30EB\u30FB\u30DD\u30A4\u30F3\u30C82,\u96E3\u6613\u5EA65\u3067\u6280\u80FD\u5224\u5B9A\u3057\u3001\u305D\u306E\u7D50\u679C\u3092\u8868\u793A\u3059\u308B\u3002\n TC>=3: \u96E3\u6613\u5EA63\u3067\u6280\u80FD\u5224\u5B9A\u3057\u3001\u305D\u306E\u7D50\u679C\u3092\u8868\u793A\u3059\u308B\u3002\n TC: \u96E3\u6613\u5EA6\u6307\u5B9A\u305B\u305A\u306B\u6280\u80FD\u5224\u5B9A\u3059\u308B\u3002\n TC3: \u6D88\u8CBB\u30D7\u30FC\u30EB\u30FB\u30DD\u30A4\u30F3\u30C83,\u96E3\u6613\u5EA6\u6307\u5B9A\u305B\u305A\u306B\u6280\u80FD\u5224\u5B9A\u3059\u308B\u3002\n\n\u25A0\u795E\u8A71\u7684\u72C2\u6C17\u8868\u3000MMT[a,b] a,b:\u9664\u5916\u3059\u308B\u795E\u8A71\u7684\u72C2\u6C17(\u7701\u7565\u6642\u306F\u5168\u795E\u8A71\u7684\u72C2\u6C17\u3092\u8868\u793A\u3059\u308B)\n\n\u4F8B)MMT[1,8]: \u795E\u8A71\u7684\u72C2\u6C17\u306E\u3046\u3061\u30011\u756A\u30688\u756A\u3092\u9664\u5916\u3057\u3066\u30ED\u30FC\u30EB\u3057\u3001\u795E\u8A71\u7684\u72C2\u6C17\u3092\u6C7A\u5B9A\u3059\u308B\u3002\n MMT2,6: \u795E\u8A71\u7684\u72C2\u6C17\u306E\u3046\u3061\u30012\u756A\u30686\u756A\u3092\u9664\u5916\u3057\u3066\u30ED\u30FC\u30EB\u3057\u3001\u795E\u8A71\u7684\u72C2\u6C17\u3092\u6C7A\u5B9A\u3059\u308B\u3002\n MMT: \u795E\u8A71\u7684\u72C2\u6C17\u30921\u756A\u304B\u30898\u756A\u307E\u3067\u5217\u6319\u3059\u308B\u3002\n\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) ⇒ Object
-
#initialize(command) ⇒ TrailOfCthulhu
constructor
A new instance of TrailOfCthulhu.
Methods inherited from Base
#change_text, #check_result, command_pattern, #enable_debug, #enabled_d9?, #eval, eval, #grich_text, prefixes_pattern, register_prefix, register_prefix_from_super_class, #sort_add_dice?, #sort_barabara_dice?
Methods included from Translate
Constructor Details
#initialize(command) ⇒ TrailOfCthulhu
Returns a new instance of TrailOfCthulhu.
34 35 36 37 38 |
# File 'lib/bcdice/game_system/TrailOfCthulhu.rb', line 34 def initialize(command) super(command) @round_type = RoundType::CEIL end |
Instance Method Details
#eval_game_system_specific_command(command) ⇒ Object
40 41 42 43 |
# File 'lib/bcdice/game_system/TrailOfCthulhu.rb', line 40 def eval_game_system_specific_command(command) resolute_action(command) || roll_mythos_madness_table(command) end |