Class: BCDice::GameSystem::SRS_Korean

Inherits:
SRS
  • Object
show all
Defined in:
lib/bcdice/game_system/SRS_Korean.rb

Constant Summary collapse

ID =

ゲームシステムの識別子

'SRS:Korean'
NAME =

ゲームシステム名

'스탠다드 RPG 시스템(SRS)'
SORT_KEY =

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

'国際化:Korean:스탠다드 RPG 시스템(SRS)'
HELP_MESSAGE_1 =
<<~HELP_MESSAGE
  ・판정
   ・일반판정: 2D6+m@c#f>=t 또는 2D6+m>=t[c,f]
    수정치 m, 목표치 t, 크리티컬치 c, 펌블치 f로 판정합니다.
    수정치, 크리티컬치, 펌블치는 생략 가능합니다([]째로 생략 가능, @c・#f 지정 순서는 상관없음).
    크리티컬치, 펌블치의 기본값은 각각 12, 2입니다.
    자동성공, 자동실패, 성공, 실패를 자동 표시합니다.

    예) 2d6>=10     수정치 0, 목표치 10으로 판정
    예) 2d6+2>=10    수정치 +2, 목표치 10으로 판정
    예) 2d6+2>=10[11]  ↑를 크리티컬치 11로 판정
    예) 2d6+2@11>=10   ↑를 크리티컬치 11로 판정
    예) 2d6+2>=10[12,4] ↑를 크리티컬치 12, 펌블치 4로 판정
    예) 2d6+2@12#4>=10  ↑를 크리티컬치 12, 펌블치 4로 판정
    예) 2d6+2>=10[,4]  ↑를 크리티컬치 12, 펌블치 4로 판정 (크리티컬치 생략)
    예) 2d6+2#4>=10   ↑를 크리티컬치 12, 펌블치 4로 판정 (크리티컬치 생략)
HELP_MESSAGE
HELP_MESSAGE_2 =
<<~HELP_MESSAGE
   ・크리티컬 및 펌블만 판정: 2D6+m@c#f 또는 2D6+m[c,f]
    목표치를 지정하지 않고, 수정치 m, 크리티컬치 c, 펌블치 f로 판정합니다.
    수정치, 크리티컬치, 펌블치는 생략 가능합니다([]는 생략 불가, @c・#f 지정 순서는 상관없음).
    자동성공, 자동실패를 자동 표시합니다.

    예) 2d6[]    수정치 0, 크리티컬치 12, 펌블치 2로 판정
    예) 2d6+2[11]  수정치 +2, 크리티컬치 11, 펌블치 2로 판정
    예) 2d6+2@11   수정치 +2, 크리티컬치 11, 펌블치 2로 판정
    예) 2d6+2[12,4] 수정치 +2, 크리티컬치 12, 펌블치 4로 판정
    예) 2d6+2@12#4  수정치 +2, 크리티컬치 12, 펌블치 4로 판정
HELP_MESSAGE
HELP_MESSAGE_3 =
<<~HELP_MESSAGE
  ・D66 주사위 있음 (순서 교체 없음)
HELP_MESSAGE
DEFAULT_HELP_MESSAGE =

既定のダイスボット説明文

"#{HELP_MESSAGE_1}\n#{HELP_MESSAGE_2}\n#{HELP_MESSAGE_3}"
HELP_MESSAGE =
DEFAULT_HELP_MESSAGE

Constants inherited from SRS

BCDice::GameSystem::SRS::DEFAULT_CRITICAL_VALUE, BCDice::GameSystem::SRS::DEFAULT_FUMBLE_VALUE

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 SRS

aliases, #aliases, #eval_game_system_specific_command, help_message, #help_message, inherited

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

ダイスボットを初期化



61
62
63
64
# File 'lib/bcdice/game_system/SRS_Korean.rb', line 61

def initialize(command)
  super(command)
  @locale = :ko_kr
end