Class: BCDice::GameSystem::NRR
- Defined in:
- lib/bcdice/game_system/NRR.rb
Constant Summary collapse
- ID =
ゲームシステムの識別子
'NRR'- NAME =
ゲームシステム名
'nRR'- SORT_KEY =
ゲームシステム名の読みがな
'えぬああるあある'- HELP_MESSAGE =
ダイスボットの使い方
"\u25AA\uFE0F\u5224\u5B9A\n\u30FB\u30CE\u30FC\u30DE\u30EB\u30C0\u30A4\u30B9\u3000NR8\n\u30FB\u6709\u5229\u30C0\u30A4\u30B9\u3000NR10\n\u30FB\u4E0D\u5229\u30C0\u30A4\u30B9\u3000NR6\n\u30FBEx\u30C0\u30A4\u30B9\u3000NR12\n\n\u30C0\u30A4\u30B9\u306E\u500B\u6570\u3092\u6307\u5B9A\u3057\u3066\u306E\u5224\u5B9A\u304C\u3067\u304D\u307E\u3059\u3002\n\u4F8B\uFF1A\u6709\u5229\u30C0\u30A4\u30B92\u500B\u3067\u5224\u5B9A\u30002NR10\n\n\u25AA\uFE0F\u5224\u5B9A\u7D50\u679C\u3068\u30B7\u30F3\u30DC\u30EB\n\u2B55\uFF1A\u6210\u529F\n\u274C\uFF1A\u5931\u6557\n\u2728\uFF1A\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB\uFF08\u5927\u6210\u529F\uFF09\n\u{1F480}\uFF1A\u30D5\u30A1\u30F3\u30D6\u30EB\uFF08\u5927\u5931\u6557\uFF09\n\u{1F308}\uFF1A\u30DF\u30E9\u30AF\u30EB\uFF08\u5947\u8DE1\uFF09\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) ⇒ NRR
constructor
A new instance of NRR.
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) ⇒ NRR
Returns a new instance of NRR.
36 37 38 39 40 |
# File 'lib/bcdice/game_system/NRR.rb', line 36 def initialize(command) super(command) = true # バラバラロール(Bコマンド)でソート有 end |
Instance Method Details
#eval_game_system_specific_command(command) ⇒ Object
42 43 44 |
# File 'lib/bcdice/game_system/NRR.rb', line 42 def eval_game_system_specific_command(command) roll_nr(command) end |