Class: BCDice::GameSystem::Skynauts
- Defined in:
- lib/bcdice/game_system/Skynauts.rb
Constant Summary collapse
- ID =
ゲームシステムの識別子
'Skynauts'- NAME =
ゲームシステム名
'歯車の塔の探空士(六畳間幻想空間)'- SORT_KEY =
ゲームシステム名の読みがな
'はくるまのとうのすかいのおつ'- HELP_MESSAGE =
ダイスボットの使い方
"\u25C6\u5224\u5B9A\u3000(SNn)\u3001(2D6<=n)\u3000n:\u76EE\u6A19\u5024\uFF08\u7701\u7565\u6642:7\uFF09\n\u3000\u4F8B\uFF09SN5\u3000SN5\u3000SN(3+2)\n\u25C6\u822A\u884C\u30C1\u30A7\u30C3\u30AF\u3000(NV+n)\u3000n:\u4FEE\u6B63\u5024\uFF08\u7701\u7565\u6642:0\uFF09\n\u3000\u4F8B\uFF09NV\u3000NV+1\n\u25C6\u30C0\u30E1\u30FC\u30B8\u30C1\u30A7\u30C3\u30AF\u3000(Dx/y@m)\u3000x:\u30C0\u30E1\u30FC\u30B8\u5DE6\u5074\u306E\u5024\u3001y:\u30C0\u30E1\u30FC\u30B8\u53F3\u5074\u306E\u5024\n\u3000m:\u300A\u5F3E\u9053\u5B66\u300B\uFF08\u7701\u7565\u53EF\uFF09\u4E0A:8\u3001\u4E0B:2\u3001\u5DE6:4\u3001\u53F3:6\n\u3000\u98DB\u7A7A\u8247\u30B7\u30FC\u30C8\u5916\u306E\u5EA7\u6A19\u306F()\u304C\u4ED8\u304D\u307E\u3059\u3002\n\u3000\u4F8B\uFF09 D/4\u3000D19/2\u3000D/3@8\u3000D[\u5927\u63FA\u308C]/2\n\u25C6\u7832\u6483\u5224\u5B9A+\u30C0\u30E1\u30FC\u30B8\u30C1\u30A7\u30C3\u30AF\u3000(BOMn/Dx/y@m)\u3000n:\u76EE\u6A19\u5024\uFF08\u7701\u7565\u6642:7\uFF09\n\u3000x:\u30C0\u30E1\u30FC\u30B8\u5DE6\u5074\u306E\u5024\u3001y:\u30C0\u30E1\u30FC\u30B8\u53F3\u5074\u306E\u5024\n\u3000m:\u300A\u5F3E\u9053\u5B66\u300B\uFF08\u7701\u7565\u53EF\uFF09\u4E0A:8\u3001\u4E0B:2\u3001\u5DE6:4\u3001\u53F3:6\n\u3000\u4F8B\uFF09 BOM/D/4\u3000BOM9/D19/2@4\n\u25C6\u300A\u56DE\u907F\u904B\u52D5\u300B\u3000(AVOn@mXX)\u3000n:\u76EE\u6A19\u5024\uFF08\u7701\u7565\u6642:7\uFF09\n\u3000m:\u56DE\u907F\u65B9\u5411\u3002\u4E0A:8\u3001\u4E0B:2\u3001\u5DE6:4\u3001\u53F3:6\u3001XX\uFF1A\u30C0\u30E1\u30FC\u30B8\u30C1\u30A7\u30C3\u30AF\u7D50\u679C\n\u3000\u4F8B\uFF09\n\u3000AVO9@8[\u7E261,\u6A2A4],[\u7E262,\u6A2A6],[\u7E263,\u6A2A8]\u3000AVO@2[\u7E266,\u6A2A4],[\u7E262,\u6A2A6]\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) ⇒ Skynauts
constructor
A new instance of Skynauts.
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) ⇒ Skynauts
Returns a new instance of Skynauts.
37 38 39 40 |
# File 'lib/bcdice/game_system/Skynauts.rb', line 37 def initialize(command) super(command) @round_type = RoundType::FLOOR # 端数切り捨て end |
Instance Method Details
#eval_game_system_specific_command(command) ⇒ Object
42 43 44 45 46 47 48 |
# File 'lib/bcdice/game_system/Skynauts.rb', line 42 def eval_game_system_specific_command(command) debug("\n=======================================\n") debug("eval_game_system_specific_command command", command) return get_judge_result(command) || (command) || get_fire_result(command) || get_bomb_result(command) || get_avoid_result(command) end |