Class: BCDice::GameSystem::MarvelHeroicRoleplaying
- Defined in:
- lib/bcdice/game_system/MarvelHeroicRoleplaying.rb
Defined Under Namespace
Constant Summary collapse
- ID =
ゲームシステムの識別子
'MarvelHeroicRoleplaying'- NAME =
ゲームシステム名
'MarvelヒロイックRPG'- SORT_KEY =
ゲームシステム名の読みがな
'まあへるひろいつくRPG'- HELP_MESSAGE =
ダイスボットの使い方
<<~INFO_MESSAGETEXT ■判定 MHRnDx[+nDx] n: ダイス数 x:ダイスの面数 例)MHR3D10+2D8+1D6: 10面ダイスを3個・8面ダイスを2個・6面ダイスを1個振って、その結果を表示(合計値,効果ダイス,チャンス) 合計値を優先した場合と効果ダイスを優先した場合で結果が変わるケースでは双方を表示。 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) ⇒ MarvelHeroicRoleplaying
constructor
A new instance of MarvelHeroicRoleplaying.
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) ⇒ MarvelHeroicRoleplaying
Returns a new instance of MarvelHeroicRoleplaying.
26 27 28 29 30 |
# File 'lib/bcdice/game_system/MarvelHeroicRoleplaying.rb', line 26 def initialize(command) super(command) @sort_barabara_dice = true # バラバラロール(Bコマンド)でソート有 end |
Instance Method Details
#eval_game_system_specific_command(command) ⇒ Object
32 33 34 |
# File 'lib/bcdice/game_system/MarvelHeroicRoleplaying.rb', line 32 def eval_game_system_specific_command(command) resolute_action(command) end |