Class: BCDice::GameSystem::AniMalus
- Defined in:
- lib/bcdice/game_system/AniMalus.rb
Constant Summary collapse
- ID =
ゲームシステムの識別子
'AniMalus'- NAME =
ゲームシステム名
'アニマラス'- SORT_KEY =
ゲームシステム名の読みがな
'あにまらす'- HELP_MESSAGE =
ダイスボットの使い方
"\u25A0\u30B9\u30C6\u30FC\u30BF\u30B9\u306E\u30C0\u30A4\u30B9\u5224\u5B9A\u3000n[+-b]AM<=t,x n:\u80FD\u529B\u5024 b:\u4FEE\u6B63\u5024(\u7701\u7565\u53EF\u80FD) t:\u6210\u529F\u5024 x:\u5FC5\u8981\u6210\u529F\u6570\n\u4F8B)3AM<=2,1: \u30C0\u30A4\u30B9\u30923\u500B\u632F\u3063\u3066\u3001\u6210\u529F\u50242,\u5FC5\u8981\u6210\u529F\u65701\u3067\u5224\u5B9A\u3002\u305D\u306E\u7D50\u679C(\u6210\u529F\u6570,\u6210\u529F\u30FB\u5931\u6557,\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB,\u30D5\u30A1\u30F3\u30D6\u30EB)\u3092\u8868\u793A\n\n\u25A0\u63A2\u7D22\u6280\u80FD\u306E\u30C0\u30A4\u30B9\u5224\u5B9A\u3000[+-b]AI<=t,x t:\u63A2\u7D22\u6280\u80FD\u30EC\u30D9\u30EB b:\u4FEE\u6B63\u5024(\u7701\u7565\u53EF\u80FD) x:\u5FC5\u8981\u6210\u529F\u6570\n\u4F8B)AI<=3,1: \u30C0\u30A4\u30B9\u30923\u500B\u632F\u3063\u3066\u3001\u63A2\u7D22\u6280\u80FD\u30EC\u30D9\u30EB3,\u5FC5\u8981\u6210\u529F\u65701\u3067\u5224\u5B9A\u3002\u305D\u306E\u7D50\u679C(\u6210\u529F\u6570,\u6210\u529F\u30FB\u5931\u6557,\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB,\u30D5\u30A1\u30F3\u30D6\u30EB)\u3092\u8868\u793A\n\n\u25A0\u653B\u6483\u5224\u5B9A\u3000[+-b]AA<=t t:\u6226\u95D8\u6280\u80FD\u30EC\u30D9\u30EB b:\u4FEE\u6B63\u5024(\u7701\u7565\u53EF\u80FD)\n\u4F8B)AA<=3: \u30C0\u30A4\u30B9\u30923\u500B\u632F\u3063\u3066\u3001\u6226\u95D8\u6280\u80FD\u30EC\u30D9\u30EB3\u3067\u5224\u5B9A\u3002\u305D\u306E\u7D50\u679C(\u6210\u529F\u30FB\u5931\u6557,\u30C0\u30E1\u30FC\u30B8,\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB,\u30D5\u30A1\u30F3\u30D6\u30EB)\u3092\u8868\u793A\n\n\u25A0\u9632\u5FA1\u5224\u5B9A\u3000[+-b]AG=t t:\u653B\u6483\u6280\u80FD\u30EC\u30D9\u30EB b:\u4FEE\u6B63\u5024(\u7701\u7565\u53EF\u80FD)\n\u4F8B)AG=2: \u30C0\u30A4\u30B9\u30923\u500B\u632F\u3063\u3066\u3001\u653B\u6483\u6280\u80FD\u30EC\u30D9\u30EB2\u3067\u5224\u5B9A\u3002\u305D\u306E\u7D50\u679C(\u6210\u529F\u30FB\u5931\u6557,\u30C0\u30E1\u30FC\u30B8\u8EFD\u6E1B,\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB,\u30D5\u30A1\u30F3\u30D6\u30EB)\u3092\u8868\u793A\n\n\u25A0\u56DE\u907F\u5224\u5B9A\u3000[+-b]AD=t t:\u653B\u6483\u6280\u80FD\u30EC\u30D9\u30EB b:\u4FEE\u6B63\u5024(\u7701\u7565\u53EF\u80FD)\n\u4F8B)AD=3: \u30C0\u30A4\u30B9\u30921\u500B\u632F\u3063\u3066\u3001\u653B\u6483\u6280\u80FD\u30EC\u30D9\u30EB3\u3067\u5224\u5B9A\u3002\u305D\u306E\u7D50\u679C(\u6210\u529F\u30FB\u5931\u6557)\u3092\u8868\u793A\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) ⇒ AniMalus
constructor
A new instance of AniMalus.
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) ⇒ AniMalus
Returns a new instance of AniMalus.
35 36 37 38 39 |
# File 'lib/bcdice/game_system/AniMalus.rb', line 35 def initialize(command) super(command) = true # バラバラロール(Bコマンド)でソート有 end |
Instance Method Details
#eval_game_system_specific_command(command) ⇒ Object
41 42 43 44 45 46 47 |
# File 'lib/bcdice/game_system/AniMalus.rb', line 41 def eval_game_system_specific_command(command) resolute_action(command) || resolute_investigation(command) || resolute_attacking(command) || resolute_guarding(command) || resolute_dodging(command) end |