Class: BCDice::GameSystem::TheOneRing2nd

Inherits:
Base
  • Object
show all
Defined in:
lib/bcdice/game_system/TheOneRing2nd.rb

Defined Under Namespace

Modules: FavouredState Classes: OptionData

Constant Summary collapse

ID =

ゲームシステムの識別子

"TheOneRing2nd"
NAME =

ゲームシステム名

"一つの指輪:指輪物語TRPG2版"
SORT_KEY =

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

"ひとつのゆひわゆひわものかたりTRPG2"
HELP_MESSAGE =
"\u30FB\u5224\u5B9A\u30B3\u30DE\u30F3\u30C9(nRG[x][@y][Az][f[0|1]][i[0|1]][w[0|1]][m[0|1]])\n \u5224\u5B9A\u7528\u306B\u96E3\u6613\u5EA6n\u3092\u6307\u5B9A\u3057\u3066\u5224\u5B9A\u30C0\u30A4\u30B9\u3092\u632F\u308B\u3002\u6280\u91CF\u30C0\u30A4\u30B9x\u3001\u75DB\u6253\u5224\u5B9A\u5024y\u3001\u4FEE\u6B63\u5024z\u3092\u6307\u5B9A\u53EF\u80FD\u3002\n \u6280\u91CF\u30C0\u30A4\u30B9\u3001\u75DB\u6253\u5224\u5B9A\u5024\u3001\u4FEE\u6B63\u5024\u306F0\u3001\u307E\u305F\u306F\u672A\u6307\u5B9A\uFF080\u3068\u540C\u3058\uFF09\u306B\u3067\u304D\u308B\u3002\n \u75DB\u6253\u5224\u5B9A\u5024\u306E0\u3001\u672A\u6307\u5B9A\u306F\u75DB\u6253\u5224\u5B9A\u3092\u884C\u308F\u306A\u3044\u3002\n \u4FEE\u6B63\u5024\u306F\u5224\u5B9A\u5408\u8A08\u5024\u306B\u52A0\u7B97\u3055\u308C\u3001\u300C\u30AC\u30F3\u30C0\u30EB\u30D5\u30FB\u30EB\u30FC\u30F3\u300D\u3084\u300C\u30B5\u30A6\u30ED\u30F3\u306E\u76EE\u300D\u306F\u305D\u306E\u5F71\u97FF\u3092\u53D7\u3051\u306A\u3044\u3002\n \u4F8B1: 13RG     (\u96E3\u6613\u5EA613 \u6280\u91CF\u30C0\u30A4\u30B90\u500B)\n \u4F8B2: 13RG3    (\u96E3\u6613\u5EA613 \u6280\u91CF\u30C0\u30A4\u30B93\u500B)\n \u4F8B3: 13RG3@10A1  (\u96E3\u6613\u5EA613 \u6280\u91CF\u30C0\u30A4\u30B93\u500B\u3001\u75DB\u6253\u5224\u5B9A10\u3001\u7D50\u679C\u306B1\u3092\u52A0\u7B97)\n\n\u30FB\u8868\u7528\u30B3\u30DE\u30F3\u30C9(FD[x][f[0|1]][i[0|1]])\n \u8868\u7528\u306B\u5224\u5B9A\u30C0\u30A4\u30B9\u3092\u632F\u308B\u3002\u4FEE\u6B63\u5024x\u304C\u6307\u5B9A\u53EF\u80FD\u3002\u4FEE\u6B63\u5024\u306F0\u3001\u3042\u308B\u3044\u306F\u672A\u6307\u5B9A(0\u3068\u540C\u3058)\u306B\u3067\u304D\u308B\u3002\n \u300C\u30AC\u30F3\u30C0\u30EB\u30D5\u30FB\u30EB\u30FC\u30F3\u300D\u3084\u300C\u30B5\u30A6\u30ED\u30F3\u306E\u76EE\u300D\u306F\u4FEE\u6B63\u5024\u306E\u5F71\u97FF\u3092\u53D7\u3051\u305A\u3001\u5024\u304C10\u3092\u8D8A\u3048\u308B\u3053\u3068\u3082\u306A\u3044\u3002\n \u4F8B1: FD      (1d12\u3067\u5224\u5B9A)\n \u4F8B2: FD1     (1d12\u3067\u5224\u5B9A\u3057\u3001\u30C0\u30A4\u30B9\u76EE\u306B+1\u4FEE\u6B63)\n\n\u30FB\u30B3\u30DE\u30F3\u30C9\u30AA\u30D7\u30B7\u30E7\u30F3\n\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u3001\u5224\u5B9A\u30B3\u30DE\u30F3\u30C9\u306A\u30894\u500B\u307E\u3067\u3001\u8868\u7528\u30B3\u30DE\u30F3\u30C9\u306A\u30892\u500B\u307E\u3067\u3001\u9806\u4E0D\u540C\u3067\u6307\u5B9A\u53EF\u80FD\uFF08\u91CD\u8907\u53EF\uFF09\u3002\n  f: \u6709\u5229(favoured)\u30AA\u30D7\u30B7\u30E7\u30F3\u3002\u4E0D\u5229\u3068\u540C\u6642\u6307\u5B9A\u6642\u306F\u76F8\u6BBA\u3002\u9078\u629E\u3055\u308C\u305F\u5024\u306B\u25CE\u3002\n  i: \u4E0D\u5229(ill-favoured)\u30AA\u30D7\u30B7\u30E7\u30F3\u3002\u6709\u5229\u3068\u540C\u6642\u6307\u5B9A\u6642\u306F\u76F8\u6BBA\u3002\u9078\u629E\u3055\u308C\u305F\u5024\u306B\u25CE\u3002\n \u4F8B1: 13RG3f   (\u96E3\u6613\u5EA613 \u6280\u91CF\u30C0\u30A4\u30B93\u500B\u3001\u6709\u5229)\n \u4F8B2: FD1f     (1\u4FEE\u6B63\u3001\u6709\u5229)\n \u4F8B3: 13RG3if   (\u96E3\u6613\u5EA613 \u6280\u91CF\u30C0\u30A4\u30B93\u500B\u3001\u4E0D\u5229\u3001\u6709\u5229)\n      \u203B\u6709\u5229/\u4E0D\u5229\u306F\u76F8\u6BBA\u3002\n\n \u5224\u5B9A\u30B3\u30DE\u30F3\u30C9\u3067\u306F\u66F4\u306B\u4E0B\u8A18\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u540C\u3058\u6761\u4EF6\u3067\u6307\u5B9A\u53EF\u80FD\u3002\n  w: \u75B2\u52B4(weary)\u72B6\u614B\u30AA\u30D7\u30B7\u30E7\u30F3\u3002\n  m: \u7D76\u671B(miserable)\u72B6\u614B\u30AA\u30D7\u30B7\u30E7\u30F3\u3002\n \u4F8B1: 13RG3wf   (\u96E3\u6613\u5EA613 \u6280\u91CF\u30C0\u30A4\u30B93\u500B\u3001\u75B2\u52B4\u72B6\u614B\u3001\u6709\u5229)\n \u4F8B2: 13RG3fiwm (\u96E3\u6613\u5EA613 \u6280\u91CF\u30C0\u30A4\u30B93\u500B\u3001\u6709\u5229\u3001\u4E0D\u5229\u3001\u75B2\u52B4\u72B6\u614B\u3001\u7D76\u671B\u72B6\u614B)\n      \u203B\u6709\u5229/\u4E0D\u5229\u306F\u76F8\u6BBA\u3002\u6700\u5927\u30AA\u30D7\u30B7\u30E7\u30F3\u6570\u3067\u3042\u308B4\u3064\u3092\u6307\u5B9A\u3002\n\n\u30FB\u30AA\u30D7\u30B7\u30E7\u30F3\u30B9\u30A4\u30C3\u30C1\n \u6307\u5B9A\u3057\u305F\u30AA\u30D7\u30B7\u30E7\u30F3\u306Eon/off\u30921/0\u3067\u6307\u5B9A\u53EF\u80FD\u30021\u306Fon\u30010\u306Foff\u3092\u8868\u3059\u3002\n \u8907\u6570\u306E\u540C\u3058\u30AA\u30D7\u30B7\u30E7\u30F3\u3078\u306E\u30B9\u30A4\u30C3\u30C1\u6307\u5B9A\u306F\u3001\u6700\u5F8C\u306E\u30B9\u30A4\u30C3\u30C1\u304C\u6709\u52B9\u3068\u306A\u308B\u3002\n \u4F8B1: 13RG3if0  (\u96E3\u6613\u5EA613 \u6280\u91CF\u30C0\u30A4\u30B93\u500B\u3001\u4E0D\u5229\u306Fon\u3001\u6709\u5229\u306Foff)\n      \u203B \u6709\u5229\u6307\u5B9A\u304Coff\u306E\u305F\u3081\u3001\u76F8\u6BBA\u3055\u308C\u305A\u4E0D\u5229\u3068\u306A\u308B\u3002\n \u4F8B2: 13RG3f1f0 (\u96E3\u6613\u5EA613 \u6280\u91CF\u30C0\u30A4\u30B93\u500B\u3001\u6709\u5229\u306F\u6700\u7D42\u7684\u306Boff)\n"
SAURONS_EYE_NUMBER =

サウロンの目

11
GANDALF_RUNE_NUMBER =

ガンダルフ・ルーン

12
CHOICE_DIE_MARK =

有利/不利の状態で選択されたダイスにつけるマーク

'◎'

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



69
70
71
72
73
74
75
76
77
# File 'lib/bcdice/game_system/TheOneRing2nd.rb', line 69

def eval_game_system_specific_command(command)
  case command
  when /^\d+RG/i
    return rg_command_exec(command)
  when /^FD/i
    return fd_command_exec(command)
  end
  return "Error" # 到達しないはずだが、念のため
end