Class: BCDice::GameSystem::DungeonsAndDragons5_Korean

Inherits:
DungeonsAndDragons5 show all
Defined in:
lib/bcdice/game_system/DungeonsAndDragons5_Korean.rb

Constant Summary collapse

ID =

ゲームシステムの識別子

'DungeonsAndDragons5:Korean'
NAME =

ゲームシステム名

'던전 앤 드래곤 5판'
SORT_KEY =

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

'国際化:Korean:던전 앤 드래곤 5판'
HELP_MESSAGE =

ダイスボットの使い方

<<~INFO_MESSAGE_TEXT
  ・명중 굴림 AT[x][@c][>=t][y]
   x: +- 수정치 (생략 가능)
   c: 크리티컬 수치 (생략 가능)
   t: 목표 AC (>= 포함, 생략 가능)
   y: 유리(A), 불리(D) (생략 가능)
   B: 브레스나 가이던스 등의 보너스 (생략 가능)
   ※보충 설명: B만 입력하면 +1d4를, B[1D4+1D8] 와 같이 입력하면 []안의 주사위를 추가로 굴립니다.


   펌블/실패/성공/크리티컬을 자동으로 판정합니다.
   예시)AT AT>=10 AT+5>=18 AT-3>=16 ATA AT>=10A AT+3>=18A AT-3>=16 ATD AT>=10D AT+5>=18D AT-5>=16D
       AT@19 AT+5@18 AT-2@19>=15

  ・능력 판정 AR[x][>=t][y]
   명중 굴림과 동일. 성공/실패 결과를 자동 판정합니다.
   예시)AR AR>=10 AR+5>=18 AR-3>=16 ARA AR>=10A AR+3>=18A AR-3>=16 ARD AR>=10D AR+5>=18D AR-5>=16D

  ・대형 무기 전투술 대미지 계산(베이직 룰북 32p) 2HnDx[m]
   n: 주사위 개수
   x: 주사위 면수(1d6의 6, 1d8의 8 등)
   m: +- 수정치 (생략 가능)
   팔라딘과 파이터의 무기를 양손으로 사용할 경우, 대미지 주사위에서 1 또는 2가 나오면 다시 굴립니다.
   예시)2H3D6 2H1D10+3 2H2D8-1
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 DungeonsAndDragons5

#ability_roll, #attack_roll, #eval_game_system_specific_command, #exec_roll, #number_with_sign_from_int, #twohands_damage_roll

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

Returns a new instance of DungeonsAndDragons5_Korean.



46
47
48
49
50
# File 'lib/bcdice/game_system/DungeonsAndDragons5_Korean.rb', line 46

def initialize(command)
  super(command)

  @locale = :ko_kr # i18n ko_kr 참조
end