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 =

ダイスボットの使い方

<<~INFO_MESSAGE_TEXT
  c=Critical Rate / f=Fumble Rate / s=Special

  1d100<=n    c・f・s AllOff(Does Simple Numeric Comparison Only)

  ・Roll Command that determines cfs

  CC	 Does a 1d100 roll c=1、f=100
  CCB  Same as above、c=5、f=96

  Ex:CC<=80  (Rolls using 80 as skill value with 1% cf rule applied)
  Ex:CCB<=55 (Rolls using 55 as skill value with 5% cf rule applied)

  ・About Roll Combination

  CBR(x,y)	c=1、f=100
  CBRB(x,y)	c=5、f=96

  ・About Opposed Rolls
  RES(x-y)	c=1、f=100
  RESB(x-y)	c=5、f=96

  ※Malfunction Number Determination

  ・CC(x) c=1、f=100
  x=Malfunction Number. Outputs(text "Fumble&Malfunction")together, when roll result is equal or above x, and fumble happens simultaneously.
  If not a fumble, outputs text "Malfunction" regardless of success/failure(Outputs the overwritten result, not outputting success/failure)

  ・CCB(x) c=5、f=96
  Same as above
INFO_MESSAGE_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 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