Class: BCDice::GameSystem::NobunagasBlackCastle
- Defined in:
- lib/bcdice/game_system/NobunagasBlackCastle.rb
Constant Summary collapse
- ID =
ゲームシステムの識別子
'NobunagasBlackCastle'
- NAME =
ゲームシステム名
'信長の黒い城'
- SORT_KEY =
ゲームシステム名の読みがな
'のふなかのくろいしろ'
- HELP_MESSAGE =
ダイスボットの使い方
<<~INFO_MESSAGETEXT ■判定 sDRt s: 能力値 t:目標値 例)+3DR12: 能力値+3、DR12で1d20を振って、その結果を表示(クリティカル・ファンブルも表示) ■イニシアティヴ INS 例)INS: 1d6を振って、イニシアティヴの結果を表示(PC先行を成功として表示) ■NPC能力値作成 NPCST 例)NPCST: 3d6を4回振って、各能力値とHPを表示 ■各種表 ・遭遇反応表(ERT) ・武器表(SWT)/その他の奇妙な武器表(OSWT) ・鎧表(ART) 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) ⇒ NobunagasBlackCastle
constructor
A new instance of NobunagasBlackCastle.
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) ⇒ NobunagasBlackCastle
Returns a new instance of NobunagasBlackCastle.
40 41 42 43 44 45 |
# File 'lib/bcdice/game_system/NobunagasBlackCastle.rb', line 40 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
47 48 49 |
# File 'lib/bcdice/game_system/NobunagasBlackCastle.rb', line 47 def eval_game_system_specific_command(command) resolute_action(command) || resolute_initiative(command) || roll_tables(command, TABLES) || make_npc_status(command) end |