Class: BCDice::GameSystem::Garako
- Defined in:
- lib/bcdice/game_system/Garako.rb
Constant Summary collapse
- ID =
ゲームシステムの識別子
'Garako'- NAME =
ゲームシステム名
'ガラコと破界の塔'- SORT_KEY =
ゲームシステム名の読みがな
'からことはかいのとう'- HELP_MESSAGE =
ダイスボットの使い方
"\u30FB\u5224\u5B9A GR+n#f>=X \uFF08+n\uFF1A\u5224\u5B9A\u5024\u3001#f\uFF1A\u4E0D\u5B89\u5B9A\u306B\u3088\u308B\u81EA\u52D5\u5931\u6557\u57FA\u6E96\u5024\u3001X\uFF1A\u76EE\u6A19\u5024\u3001\u305D\u308C\u305E\u308C\u7701\u7565\u53EF\u80FD\uFF09\n\u30FB\u90E8\u4F4D\u6C7A\u5B9A\u30C1\u30E3\u30FC\u30C8\uFF1AHIT\n\u30FB\u30C0\u30E1\u30FC\u30B8+\u90E8\u4F4D\u6C7A\u5B9A\uFF1AGHAn\uFF08n\uFF1A\u706B\u529B\uFF09\n\u30FB\u30C0\u30E1\u30FC\u30B8\u30C1\u30E3\u30FC\u30C8\uFF1AxDCy\uFF08CDC/EDC/FDC/ADC/LDC )\n\u30FB\u30C0\u30E1\u30FC\u30B8\u30C1\u30E3\u30FC\u30C8ver2\uFF1AxDTy\uFF08CDT/EDT/FDT/ADT/LDT\uFF09\n\u3000x\u306F C\uFF1A\u30B3\u30C3\u30AF\u30D4\u30C3\u30C8\u3001E\uFF1A\u30A8\u30F3\u30B8\u30F3\u3001F\uFF1A\u30D5\u30EC\u30FC\u30E0\u3001A\uFF1A\u30A2\u30FC\u30E0\u3001L\uFF1A\u30EC\u30C3\u30B0\n\u3000y\u306F\u30C0\u30E1\u30FC\u30B8\u5024\n\u5404\u7A2E\u8868\n\u30FB\u500B\u6027\u8868\uFF1AIDI\uFF0F\u52D5\u6A5F\u6C7A\u5B9A\u8868\uFF1AMTV\n\u30FB\u540D\u524D\u8868\n\u30D4\u30B0\u30DE\u30FC\u65CF\u3000\u3000\u7537\uFF1APNM\u3000\u5973\uFF1APNF\u3000\u3000\u30A8\u30EC\u30E1\u30F3\u30C8\u65CF\u3000\u7537\uFF1AENM\u3000\u5973\uFF1AENF\n\u30CE\u30FC\u30DE\u30C3\u30C9\u65CF\u3000\u7537\uFF1ANNM\u3000\u5973\uFF1ANNF\u3000\u3000\u30E9\u30C3\u30C8\u65CF\u3000\u3000\u3000\u7537\uFF1ARNM\u3000\u5973\uFF1ARNF\n\u30D6\u30EC\u30A4\u30F3\u65CF\u3000\u3000\uFF11\uFF1ABN1\u3000\uFF12\uFF1ABN2\u3000\u3000\u30C6\u30F3\u30BF\u30AF\u30EB\u65CF\u3000\uFF11\uFF1ATN1\u3000\uFF12\uFF1ATN2\n\u30FB\u30AC\u30E9\u30B3\u6539\u9020\u30C1\u30E3\u30FC\u30C8\u8868\uFF1AGCC\n\u30FB\u6B66\u5668\u6539\u9020\u30C1\u30E3\u30FC\u30C8\u8868\uFF1AWCC\n\u30FB\u30A4\u30D9\u30F3\u30C8\u30C1\u30E3\u30FC\u30C8\u8868\uFF1AEVC\n\u30FB\u6226\u95D8\u958B\u59CB\u8DDD\u96E2\uFF1ABSD\n\n\u30C7\u30D5\u30A9\u30EB\u30C8\u30C0\u30A4\u30B9\uFF1A10\u9762\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?
-
#initialize(command) ⇒ Garako
constructor
A new instance of Garako.
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) ⇒ Garako
Returns a new instance of Garako.
42 43 44 45 46 |
# File 'lib/bcdice/game_system/Garako.rb', line 42 def initialize(command) super(command) @sides_implicit_d = 10 end |
Instance Method Details
#eval_game_system_specific_command(command) ⇒ String?
50 51 52 53 54 55 |
# File 'lib/bcdice/game_system/Garako.rb', line 50 def eval_game_system_specific_command(command) roll_tables(command, TABLES) || roll_gr(command) || roll_damage_chart(command) || roll_attack_hit(command) end |