Class: BCDice::GameSystem::RoleMaster

Inherits:
Base
  • Object
show all
Defined in:
lib/bcdice/game_system/RoleMaster.rb

Constant Summary collapse

ID =

ゲームシステムの識別子

'RoleMaster'
NAME =

ゲームシステム名

'ロールマスター'
SORT_KEY =

ゲームシステム名の読みがな

'ろおるますたあ'
HELP_MESSAGE =

ダイスボットの使い方

"上方無限ロール(xUn)の境界値を96にセットします。\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

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

#translate

Constructor Details

#initialize(command) ⇒ RoleMaster

Returns a new instance of RoleMaster.



18
19
20
21
# File 'lib/bcdice/game_system/RoleMaster.rb', line 18

def initialize(command)
  super(command)
  @upper_dice_reroll_threshold = 96
end