Class: BCDice::GameSystem::Cthulhu_English

Inherits:
Cthulhu
  • Object
show all
Defined in:
lib/bcdice/game_system/Cthulhu_English.rb

Constant Summary collapse

ID =

ゲームシステムの識別子

'Cthulhu:English'
NAME =

ゲームシステム名

'Call of Cthulhu'
SORT_KEY =

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

'国際化:English:Call of Cthulhu'
HELP_MESSAGE =

ダイスボットの使い方

"c=Critical Rate \uFF0F f=Fumble Rate \uFF0F s=Special\n\n1d100<=n    c\u30FBf\u30FBs AllOff\uFF08Does Simple Numeric Comparison Only\uFF09\n\n\u30FBRoll Command that determines cfs\n\nCC   Does a 1d100 roll c=1\u3001f=100\nCCB  Same as above\u3001c=5\u3001f=96\n\nEx\uFF1ACC<=80  \uFF08Rolls using 80 as skill value with 1% cf rule applied\uFF09\nEx\uFF1ACCB<=55 \uFF08Rolls using 55 as skill value with 5% cf rule applied\uFF09\n\n\u30FBAbout Roll Combination\n\nCBR(x,y)  c=1\u3001f=100\nCBRB(x,y) c=5\u3001f=96\n\n\u30FBAbout Opposed Rolls\nRES(x-y)  c=1\u3001f=100\nRESB(x-y) c=5\u3001f=96\n\n\u203BMalfunction Number Determination\n\n\u30FBCC(x) c=1\u3001f=100\nx=Malfunction Number. Outputs\uFF08text \"Fumble&Malfunction\"\uFF09together, when roll result is equal or above x, and fumble happens simultaneously.\nIf not a fumble, outputs text \"Malfunction\" regardless of success/failure\uFF08Outputs the overwritten result, not outputting success/failure\uFF09\n\n\u30FBCCB(x) c=5\u3001f=96\nSame as above\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 Cthulhu

#eval_game_system_specific_command

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) ⇒ Cthulhu_English

Returns a new instance of Cthulhu_English.



52
53
54
55
56
# File 'lib/bcdice/game_system/Cthulhu_English.rb', line 52

def initialize(command)
  super(command)

  @locale = :en_us
end