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 =
<<~TEXT
  ■ 判定
    nCSm>=t [判定]を行う。成功/不完全成功を判定。(p.111)
    n: ダイス数
    m: [難易度](省略時 4)
    t: [必要成功数](省略時 1)

  ■ 各種表
    ET 感情ワード(キャラクター)表(p.120)
    RT 襲撃表(p.146)
TEXT

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