Class: BCDice::GameSystem::Villaciel
- Defined in:
- lib/bcdice/game_system/Villaciel.rb
Constant Summary collapse
- ID =
ゲームシステムの識別子
'Villaciel'- NAME =
ゲームシステム名
'蒼天のヴィラシエル'- SORT_KEY =
ゲームシステム名の読みがな
'そうてんのういらしえる'- HELP_MESSAGE =
ダイスボットの使い方
"\u30FB\u5224\u5B9A\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000nVBS[>=d]\n\u3000[]\u5185\u7701\u7565\u6642\u306F\u9054\u6210\u6570\u306E\u8A08\u7B97\u306E\u307F\u3002\u30C8\u30E9\u30A4\u30A2\u30F3\u30D5\u3042\u308A\u3002\n\u3000n: \u30C0\u30A4\u30B9\u6570\u3001d: \u96E3\u6613\u5EA6\n\u30FB\u30D5\u30ED\u30F3\u30C6\u30A3\u30A2\u5224\u5B9A\u3000\u3000nVF\n\u3000n: \u30C0\u30A4\u30B9\u6570\n\u3000nVBS\u3092\u884C\u3044\u3001\u3046\u3067\u307E\u3048\u8868\u3092\u53C2\u7167\u3057\u305F\u7D50\u679C\u3092\u8868\u793A\u3057\u307E\u3059\u3002\n\u30FB\u63A1\u6398\u30B9\u30AD\u30EB\u5224\u5B9A\u3000\u3000\u3000nVM\n\u3000n: \u30C0\u30A4\u30B9\u6570\n\u3000\u5224\u5B9A\u306B\u6210\u529F\u3057\u305F\u5834\u5408\u3001\u81EA\u52D5\u7684\u306B\u7372\u5F97\u3067\u304D\u308B\u30A2\u30A4\u30C6\u30E0\u6570\u3082\u8868\u793A\u3055\u308C\u307E\u3059\u3002\n\u30FB\u5B9D\u77F3\u52A0\u5DE5\u30B9\u30AD\u30EB\u5224\u5B9A\u3000nVG\n\u3000n: \u30C0\u30A4\u30B9\u6570\n\u30FB\u524D\u8077\u8868\u3000\u3000\u3000\u3000\u3000\u3000\u3000PJ[x] x=V,A\n\u3000[]\u5185\u306F\u7701\u7565\u53EF\u80FD\u3002\n\u3000PJ, PJV: \u300C\u84BC\u5929\u306E\u30F4\u30A3\u30E9\u30B7\u30A8\u30EB\u300D\u63B2\u8F09\u306E\u524D\u8077\u8868\u3000PJA: \u300C\u767D\u96F2\u306E\u30A2\u30EB\u30E1\u30B5\u30FC\u30EB\u300D\u63B2\u8F09\u306E\u524D\u8077\u8868\n\u30FB\u3077\u3061\u30AF\u30A8\u30B9\u30C8\u8868\u3000\u3000\u3000PQ[x] x=V,A\n\u3000[]\u5185\u306F\u7701\u7565\u53EF\u80FD\u3002\n\u3000PQ, PQV: \u300C\u84BC\u5929\u306E\u30F4\u30A3\u30E9\u30B7\u30A8\u30EB\u300D\u63B2\u8F09\u306E\u3077\u3061\u30AF\u30A8\u30B9\u30C8\u8868\u3000PQA: \u300C\u767D\u96F2\u306E\u30A2\u30EB\u30E1\u30B5\u30FC\u30EB\u300D\u63B2\u8F09\u306E\u3077\u3061\u30AF\u30A8\u30B9\u30C8\u8868\n\u30FB\u30A2\u30AF\u30B7\u30C7\u30F3\u30C8\u8868\u3000\u3000\u3000AC\n\u30FB\u3082\u3075\u3082\u3075\u8868\u3000\u3000\u3000\u3000\u3000MMx x=I,A,V,VV,VA,D\n MMI: \u6606\u866B\u3000MMA: \u52D5\u7269\u3000MMV, MMVV: \u30F4\u30A3\u30E9\u30B7\u30A8\u30EB\u7A2E\uFF08\u300C\u84BC\u5929\u306E\u30F4\u30A3\u30E9\u30B7\u30A8\u30EB\u300D\u63B2\u8F09\uFF09\u3000MMVA: \u30F4\u30A3\u30E9\u30B7\u30A8\u30EB\u7A2E\uFF08\u300C\u767D\u96F2\u306E\u30A2\u30EB\u30E1\u30B5\u30FC\u30EB\u300D\u63B2\u8F09\uFF09\u3000MMD: \u92FC\u9F8D\u7A2E\n\u30FB\u91E3\u308A\u8868\u3000\u3000\u3000\u3000\u3000\u3000\u3000Fx x=L,R,W,G,B,C,S\n\u3000FL: \u6E56\u3000FR: \u6CB3\u3000FW: \u767D\u96F2\u3000FG: \u7070\u96F2\u3000FB: \u9ED2\u96F2\u3000FC: \u5171\u901A\u3000FS: \u5869\u6E56\n\u30FB\u4E0D\u98DF\u690D\u7269\u8868\u3000\u3000\u3000\u3000\u3000IP[x] x=V,A\n\u3000IP, IPV: \u300C\u84BC\u5929\u306E\u30F4\u30A3\u30E9\u30B7\u30A8\u30EB\u300D\u63B2\u8F09\u306E\u4E0D\u98DF\u690D\u7269\u8868\u3000IPA: \u300C\u767D\u96F2\u306E\u30A2\u30EB\u30E1\u30B5\u30FC\u30EB\u300D\u63B2\u8F09\u306E\u4E0D\u98DF\u690D\u7269\u8868\n\u30FB\u53EF\u98DF\u690D\u7269\u8868\u3000\u3000\u3000\u3000\u3000EP[x][n] x=V,A\n\u3000[]\u5185\u306F\u7701\u7565\u53EF\u80FD\u3002\n\u3000n: \u53EF\u98DF\u690D\u7269\u8868\u756A\u53F7\n\u3000EP[n], EPV[n]: \u300C\u84BC\u5929\u306E\u30F4\u30A3\u30E9\u30B7\u30A8\u30EB\u300D\u63B2\u8F09\u306E\u53EF\u98DF\u690D\u7269\u8868\u3002[]\u5185\u7701\u7565\u6642\u306Fn\u30921D6\u3067\u6C7A\u5B9A\u3057\u3001EPVn\u3092\u5B9F\u884C\u3002\u305F\u3060\u3057\u30011D6\u306E\u51FA\u76EE\u304C6\u306A\u3089\u3070\u3001\u300C\u597D\u304D\u306A\u8868\u3092\u9078\u3093\u3067\u304A\u3063\u3051\u30FC\uFF01\u300D\u3068\u8868\u793A\u3002\n\u3000EPA[n]: \u300C\u767D\u96F2\u306E\u30A2\u30EB\u30E1\u30B5\u30FC\u30EB\u300D\u63B2\u8F09\u306E\u53EF\u98DF\u690D\u7269\u8868\u3002[]\u5185\u7701\u7565\u6642\u306F1D6\u3092\u632F\u308A\u3001\u51FA\u76EE\u304C\u5076\u6570\u306A\u3089\u3070EPA1\u3001\u5947\u6570\u306A\u3089\u3070EPA2\u3092\u5B9F\u884C\u3002\n\u30FB\u5909\u7570\u690D\u7269\u8868\u3000\u3000\u3000\u3000\u3000MP\n\u30FB\u6539\u826F\u7A2E\u8868\u3000\u3000\u3000\u3000\u3000\u3000IS\n"
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
- #eval_game_system_specific_command(command) ⇒ Object
-
#initialize(command) ⇒ Villaciel
constructor
A new instance of Villaciel.
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
Constructor Details
#initialize(command) ⇒ Villaciel
Returns a new instance of Villaciel.
52 53 54 55 56 57 |
# File 'lib/bcdice/game_system/Villaciel.rb', line 52 def initialize(command) super(command) @d66_sort_type = D66SortType::NO_SORT # D66あり。ただし、現行ルールにある6x6の表については別のコマンドを用意 @round_type = RoundType::CEIL # 端数は切り上げ end |
Instance Method Details
#eval_game_system_specific_command(command) ⇒ Object
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'lib/bcdice/game_system/Villaciel.rb', line 59 def eval_game_system_specific_command(command) case command when /\d+VBS/ resolute_action(command) when /\d+VF/ resolute_frontier_action(command) when /\d+VM/ resolute_mining_action(command) when /\d+VG/ resolute_cutting_gem_action(command) when /PJ[VA]?/ use_previous_job_chart(command) when /PQ[VA]?/ use_petit_quest_chart(command) when 'AC' use_accident_chart(command) when /MM([IAD]|V[VA]?)/ use_mohumohu_chart(command) when /F[LRWGBCS]/ use_fishing_chart(command) when /IP[VA]?/ use_inedible_plant_chart(command) when /EP[VA]?\d?/ use_edible_plant_chart(command) when 'MP' use_mutant_plant_chart(command) when 'IS' use_improved_species_chart(command) end end |