Class: BCDice::GameSystem::RuneQuestRoleplayingInGlorantha

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

Constant Summary collapse

ID =

ゲームシステムの識別子

'RuneQuestRoleplayingInGlorantha'
NAME =

ゲームシステム名

'ルーンクエスト:ロールプレイング・イン・グローランサ'
SORT_KEY =

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

'るうんくえすと4'
HELP_MESSAGE =

ダイスボットの使い方

"\u30FB\u5224\u5B9A\u30B3\u30DE\u30F3\u30C9 \u6C7A\u5B9A\u7684\u6210\u529F\u3001\u52B9\u679C\u7684\u6210\u529F\u3001\u30D5\u30A1\u30F3\u30D6\u30EB\u3092\u542B\u3081\u305F\u5224\u5B9A\u3092\u884C\u3046\u3002\nRQG<=\u6210\u529F\u7387      (\u57FA\u672C\u66F8\u5F0F)\nRQG\u6210\u529F\u7387        (\u7701\u7565\u8A18\u6CD5)\n\n\u4F8B1\uFF1ARQG<=80    \uFF08\u6280\u80FD\u502480\u3067\u5224\u5B9A\uFF09\n\u4F8B2\uFF1ARQG<=80+20 \uFF08\u6280\u80FD\u5024100\u3067\u5224\u5B9A\uFF09\n\u4F8B3\uFF1ARQG80      \uFF08\u7701\u7565\u66F8\u5F0F\u3067\u6280\u80FD\u502480\u306E\u5224\u5B9A\uFF09\n\u4F8B4\uFF1ARQG80+20   \uFF08\u7701\u7565\u66F8\u5F0F\u3067\u6280\u80FD\u5024100\u306E\u5224\u5B9A\uFF09\n\n\u30FB\u62B5\u6297\u5224\u5B9A\u30B3\u30DE\u30F3\u30C9\uFF08\u80FD\u52D5-\u53D7\u52D5\uFF09 \u6C7A\u5B9A\u7684\u6210\u529F\u3001\u52B9\u679C\u7684\u6210\u529F\u3001\u30D5\u30A1\u30F3\u30D6\u30EB\u3092\u542B\u3081\u305F\u5224\u5B9A\u3092\u884C\u3046\u3002\nRES(\u80FD\u52D5\u80FD\u529B-\u53D7\u52D5\u80FD\u529B)m\u5897\u5F37\u5024\n\u5897\u5F37\u5024\u306F\u7701\u7565\u53EF\u80FD\u3002\n\n\u4F8B1\uFF1ARES(9-11)    (\u80FD\u52D5\u80FD\u529B9 vs \u53D7\u52D5\u80FD\u529B11\u3067\u5224\u5B9A)\n\u4F8B2\uFF1ARES(9-11)m20 (\u80FD\u52D5\u80FD\u529B9 vs \u53D7\u52D5\u80FD\u529B11\u3001+20%\u306E\u5897\u5F37\u304C\u80FD\u52D5\u5074\u306B\u5165\u308B\u5224\u5B9A)\n\u4F8B3\uFF1ARES(9)m50    (\u80FD\u52D5\u80FD\u529B\u3068\u53D7\u52D5\u80FD\u529B\u306E\u5DEE\u304C9\u3067\u3001+50%\u306E\u5897\u5F37\u304C\u80FD\u52D5\u5074\u306B\u5165\u308B\u5224\u5B9A)\n\n\u30FB\u62B5\u6297\u5224\u5B9A\u30B3\u30DE\u30F3\u30C9(\u80FD\u52D5\u5074\u306E\u307F) \u6C7A\u5B9A\u7684\u6210\u529F\u3001\u52B9\u679C\u7684\u6210\u529F\u3001\u30D5\u30A1\u30F3\u30D6\u30EB\u306F\u542B\u3081\u305A\u5224\u5B9A\u3092\u884C\u3046\u3002\nRSA(\u80FD\u52D5\u80FD\u529B)m\u5897\u5F37\u5024\n\u5897\u5F37\u5024\u306F\u7701\u7565\u53EF\u80FD\u3002\n\n\u4F8B1\uFF1ARSA(9)       (\u80FD\u52D5\u80FD\u529B9\u3067\u5224\u5B9A)\n\u4F8B2\uFF1ARSA(9)m20    (\u80FD\u52D5\u80FD\u529B9\u3067\u5224\u5B9A\u3001+20%\u306E\u5897\u5F37\u304C\u80FD\u52D5\u5074\u306B\u5165\u308B\u5224\u5B9A)\n\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

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



45
46
47
48
49
50
51
52
53
54
55
# File 'lib/bcdice/game_system/RuneQuestRoleplayingInGlorantha.rb', line 45

def eval_game_system_specific_command(command)
  case command
  when /RQG/i
    return do_ability_roll(command)
  when /RES/i
    return do_resistance_roll(command)
  when /RSA/i
    return do_resistance_active_characteristic_roll(command)
  end
  return nil
end