Class: BCDice::GameSystem::MorkBorg
- Defined in:
- lib/bcdice/game_system/MorkBorg.rb
Direct Known Subclasses
Constant Summary collapse
- ID =
ゲームシステムの識別子
'MorkBorg'- NAME =
ゲームシステム名
'MÖRK BORG'- SORT_KEY =
ゲームシステム名の読みがな
'むるくほりい'- HELP_MESSAGE =
ダイスボットの使い方
<<~INFO_MESSAGETEXT ■判定 sDRt s: 能力値(省略時:0) t:目標値 例)+3DR12: 能力値+3、DR12で1d20を振って、その結果を表示(クリティカル・ファンブルも表示) ■イニシアティヴ sINS s: 能力値(省略時:0. 個別のイニシアティブを使う場合) 例)INS: 1d6を振って、イニシアティヴの結果を表示(PC先行を成功として表示) ■モラル sMORt s: 能力値(省略時:0) t:相手クリーチャーのモラル値 例)MOR8: 2d6を振って、モラル判定の結果を表示(モラル崩壊を成功として表示) ■各種表 ・遭遇反応表 Reaction (ERT) ・破損 Broken (BRO) INFO_MESSAGETEXT
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) ⇒ MorkBorg
constructor
A new instance of MorkBorg.
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) ⇒ MorkBorg
Returns a new instance of MorkBorg.
39 40 41 42 43 44 |
# File 'lib/bcdice/game_system/MorkBorg.rb', line 39 def initialize(command) super(command) @sort_add_dice = true @d66_sort_type = D66SortType::NO_SORT end |
Instance Method Details
#eval_game_system_specific_command(command) ⇒ Object
46 47 48 |
# File 'lib/bcdice/game_system/MorkBorg.rb', line 46 def eval_game_system_specific_command(command) resolute_action(command) || resolute_initiative(command) || resolute_morale(command) || roll_tables(command, self.class::TABLES) end |