Class: BCDice::GameSystem::Cthulhu7th_Korean

Inherits:
Base
  • Object
show all
Includes:
Rollable
Defined in:
lib/bcdice/game_system/Cthulhu7th_Korean.rb,
lib/bcdice/game_system/cthulhu7th_Korean/rollable.rb,
lib/bcdice/game_system/cthulhu7th_Korean/full_auto.rb

Defined Under Namespace

Modules: Rollable Classes: FullAuto, ResultLevel

Constant Summary collapse

ID =

ゲームシステムの識別子

'Cthulhu7th:Korean'
NAME =

ゲームシステム名

'크툴루의 부름 7판'
SORT_KEY =

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

'国際化:Korean:크툴루의 부름 7판'
HELP_MESSAGE =

ダイスボットの使い方

<<~INFO_MESSAGE_TEXT
  ・판정 CC(x)<=(목표치)
   x:보너스, 페널티 주사위 (2~-2). 생략 가능.
   목표치가 없어도 1D100은 표시됨.
   대실패 / 실패 / 보통 성공 / 어려운 성공 /
   극단적 성공 / 대성공 을 자동 판정.
   예)CC<=30 CC(2)<=50 CC(+2)<=50 CC(-1)<=75 CC-1<=50 CC1<=65 CC+1<=65 CC

  ・기능 판정의 난이도 지정 CC(x)<=(목표치)(난이도)
   목표치 뒤에 난이도를 지정하여
   성공 / 실패 / 대성공 / 대실패 를 자동 판정.
   난이도 지정:
    r:보통 h:어려운 e:극단적 c:대성공
   예)CC<=70r CC1<=60h CC-2<=50e CC2<=99c

  ・대항 판정 (CBR(x,y))
   목표치 x와 y로 % 판정을 진행하여 성패를 판정.
   예)CBR(50,20)

  ・자동 사격 무기의 사격 판정(연사) FAR(w,x,y,z,d,v)
   w:탄환 수(1~100), x:기능치(1~100), y:고장 수치,
   z:보너스, 페널티 다이스(-2~2). 생략 가능.
   d:지정한 난이도에서 연사를 종료(보통:r, 어려운:h, 극단적:e). 생략 가능.
   v:연사할 탄환 수를 변경. 생략 가능.
   명중 수와 관통 수, 남은 탄환 수만 산출. 대미지 산출은 하지 않음.
  예)FAR(25,70,98) FAR(50,80,98,-1) far(30,70,99,1,R)
    far(25,88,96,2,h,5) FaR(40,77,100,,e,4) fAr(20,47,100,,,3)

  ・각종 표
   【광기 관련】
   ・광기의 발작(실시간) BMR
   ・광기의 발작(요약) BMS
   ・공포증의 예  PH / 집착증의 예 MA

   【마법 관련】
   ・주문의 강행 판정 실패 표
    비교적 약한 주문의 부작용 FCL/강력한 주문의 부작용 FCM
    ※일본어로 출력됩니다.
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 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



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/bcdice/game_system/Cthulhu7th_Korean.rb', line 61

def eval_game_system_specific_command(command)
  case command
  when /^CC/i
    skill_roll(command)
  when /^CBR/i
    combine_roll(command)
  when /^FAR/i
    getFullAutoResult(command)
  when "BMR" # 狂気の発作(リアルタイム)
    roll_bmr_table()
  when "BMS" # 狂気の発作(サマリー)
    roll_bms_table()
  when "FCL" # キャスティング・ロールのプッシュに失敗した場合(小)
    roll_1d8_table("キャスティング・ロール失敗(小)表", FAILED_CASTING_L_TABLE)
  when "FCM" # キャスティング・ロールのプッシュに失敗した場合(大)
    roll_1d8_table("キャスティング・ロール失敗(大)表", FAILED_CASTING_M_TABLE)
  when "PH" # 恐怖症表
    roll_1d100_table("恐怖症表", PHOBIAS_TABLE)
  when "MA" # マニア表
    roll_1d100_table("マニア表", MANIAS_TABLE)
  end
end