Class: BCDice::GameSystem::GundamSentinel

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

Constant Summary collapse

ID =

ゲームシステムの識別子

'GundamSentinel'
NAME =

ゲームシステム名

'ガンダム・センチネルRPG'
SORT_KEY =

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

'かんたむせんちねる'
HELP_MESSAGE =

ダイスボットの使い方

"\u30FB\u57FA\u672C\u6226\u95D8(BB, BBM)\n\u3000BB[+\u4FEE\u6B63][>\u56DE\u907F\u5024]\u3067\u57FA\u672C\u6226\u95D8\u3092\u5224\u5B9A\u3057\u307E\u3059\u3002\u56DE\u907F\u5024\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u547D\u4E2D\u30FB\u56DE\u907F\u3082\u8868\u793A\u3057\u307E\u3059\u3002\n\u3000BBM[+\u4FEE\u6B63][>\u56DE\u907F\u5024]\u3067\u30E2\u30D6\u7528\u306E\u57FA\u672C\u6226\u95D8\u3092\u5224\u5B9A\u3057\u307E\u3059\u3002\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB\u3092\u5224\u5B9A\u3057\u307E\u3059\u3002\u56DE\u907F\u5024\u3092\u6307\u5B9A\u3059\u308B\u3068\u3001\u547D\u4E2D\u30FB\u56DE\u907F\u3082\u8868\u793A\u3057\u307E\u3059\u3002\n\n\u3000\u4F8B\uFF09BB BBM BB+5>14 BBM+5>15\n\n\u30FB\u4E00\u822C\u6280\u80FD(GS)\n\u3000GS[+\u4FEE\u6B63][>\u76EE\u6A19\u5024]\u3067\u4E00\u822C\u6280\u80FD\u3092\u5224\u5B9A\u3057\u307E\u3059\u3002\u76EE\u6A19\u5024\u3092\u6307\u5B9A\u3057\u306A\u3044\u5834\u5408\u306F\u3001\u76EE\u6A19\u502410\u3067\u5224\u5B9A\u3057\u307E\u3059\u3002\n\n\u3000\u4F8B\uFF09GS GS+5 GS+5>10\n\n\n\u30FB\u5404\u7A2E\u8868\n\u3000\u6575MS\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB\u30D2\u30C3\u30C8\u30C1\u30E3\u30FC\u30C8\u3000(ECHC)\n\u3000PC\u7528\u8131\u51FA\u5224\u5B9A\u30C1\u30E3\u30FC\u30C8\u3000\u3000\u3000\u3000\u3000\u3000(PEJC[+m] m:\u4FEE\u6B63)\n\u3000\u8266\u8239\u8FFD\u52A0\u30C0\u30E1\u30FC\u30B8\u6C7A\u5B9A\u30C1\u30E3\u30FC\u30C8\u3000\u3000(ASDC)\n\u3000\u5BFE\u7A7A\u7832\u7D50\u679C\u30C1\u30E3\u30FC\u30C8\u3000\u3000\u3000\u3000\u3000\u3000\u3000(AARC[+m]=t m:\u4FEE\u6B63, t:\u5BFE\u7A7A\u9632\u5FA1\u529B)\n\u3000\u30EA\u30CF\u30D3\u30EA\u5224\u5B9A\u30C1\u30E3\u30FC\u30C8\u3000\u3000\u3000\u3000\u3000\u3000(RTJC[+m] m:\u4FEE\u6B63)\n\u3000\u4E8C\u6B21\u88AB\u5BB3\u5224\u5B9A\u30C1\u30E3\u30FC\u30C8\u3000\u3000\u3000\u3000\u3000\u3000(SDDC)\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, prefixes_pattern, register_prefix, register_prefix_from_super_class, #sort_add_dice?, #sort_barabara_dice?

Methods included from Translate

#translate

Constructor Details

#initialize(command) ⇒ GundamSentinel

Returns a new instance of GundamSentinel.



38
39
40
41
42
43
# File 'lib/bcdice/game_system/GundamSentinel.rb', line 38

def initialize(command)
  super(command)

  @round_type = RoundType::CEIL
  @d66_sort_type = D66SortType::NO_SORT
end

Instance Method Details

#eval_game_system_specific_command(command) ⇒ Object



45
46
47
48
49
50
51
52
# File 'lib/bcdice/game_system/GundamSentinel.rb', line 45

def eval_game_system_specific_command(command)
  roll_basic_battle(command) ||
    roll_general_skill(command) ||
    roll_anti_aircraft_gun_result_chart(command) ||
    roll_escape_chart(command) ||
    roll_rehabilitation_chart(command) ||
    roll_tables(command, TABLES)
end