Class: BCDice::GameSystem::CharonSanctions

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

Constant Summary collapse

ID =

ゲームシステムの識別子

"CharonSanctions"
NAME =

ゲームシステム名

"カローン・サンクションズ"
SORT_KEY =

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

"かろおんさんくしおんす"
HELP_MESSAGE =
"\u25A0 \u5224\u5B9A\n  nCSm>=t \uFF3B\u5224\u5B9A\uFF3D\u3092\u884C\u3046\u3002\u6210\u529F\uFF0F\u4E0D\u5B8C\u5168\u6210\u529F\u3092\u5224\u5B9A\u3002\uFF08p.111\uFF09\n  n: \u30C0\u30A4\u30B9\u6570\n  m: \uFF3B\u96E3\u6613\u5EA6\uFF3D\uFF08\u7701\u7565\u6642 4\uFF09\n  t: \uFF3B\u5FC5\u8981\u6210\u529F\u6570\uFF3D\uFF08\u7701\u7565\u6642 1\uFF09\n\n\u25A0 \u5404\u7A2E\u8868\n  ET \u611F\u60C5\u30EF\u30FC\u30C9\uFF08\u30AD\u30E3\u30E9\u30AF\u30BF\u30FC\uFF09\u8868\uFF08p.120\uFF09\n  RT \u8972\u6483\u8868\uFF08p.146\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

Methods inherited from Base

#change_text, #check_result, command_pattern, #enable_debug, #enabled_d9?, #eval, eval, #grich_text, #initialize, prefixes_pattern, register_prefix, register_prefix_from_super_class, #sort_add_dice?, #sort_barabara_dice?

Methods included from Translate

#translate

Constructor Details

This class inherits a constructor from BCDice::Base

Instance Method Details

#eval_game_system_specific_command(command) ⇒ Object



27
28
29
30
# File 'lib/bcdice/game_system/CharonSanctions.rb', line 27

def eval_game_system_specific_command(command)
  action_roll(command) ||
    roll_tables(command, TABLES)
end