Class: BCDice::GameSystem::DivineCharger

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

Defined Under Namespace

Classes: Action_data

Constant Summary collapse

ID =

ゲームシステムの識別子

'DivineCharger'
NAME =

ゲームシステム名

'神聖課金RPGディヴァインチャージャー'
SORT_KEY =

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

'しんせいかきんRPGていうあいんちやあしやあ'
HELP_MESSAGE =

ダイスボットの使い方

"\u25A0\u5224\u5B9A\u3000\u3000nDC>=t          n:\u80FD\u529B\u5024 t:\u76EE\u6A19\u5024\n\u4F8B)3DC>=7: \u30C0\u30A4\u30B9\u30923\u500B\u632F\u3063\u3066\u3001\u76EE\u6A19\u50247\u3067\u5224\u5B9A\u3002\u305D\u306E\u7D50\u679C(\u9054\u6210\u5024,\u6210\u529F\u30FB\u5931\u6557,\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB,\u30D5\u30A1\u30F3\u30D6\u30EB)\u3092\u8868\u793A\n\u3000 3DC>=?: \u3000\u540C\u4E0A\u3000\u76EE\u6A19\u5024\u304C\u4E0D\u660E\u306A\u306E\u3067\u3001\u9054\u6210\u5024,\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB,\u30D5\u30A1\u30F3\u30D6\u30EB\u306E\u307F\u8868\u793A\u3002\n\n\u25A0\u53CD\u8EE2\u5224\u5B9A\u3000\u3000REV[n]>=t   n:\u30C0\u30A4\u30B9\u76EE(\u30AB\u30F3\u30DE\u306A\u3057) t:\u76EE\u6A19\u5024\n\u4F8B)REV[123]>=7: \u632F\u3063\u305F\u30C0\u30A4\u30B9\u304C[1,2,3]\u3067\u3001\u76EE\u6A19\u50247\u3067\u53CD\u8EE2\u5224\u5B9A\u3002\u305D\u306E\u7D50\u679C(\u9054\u6210\u5024,\u6210\u529F\u30FB\u5931\u6557,\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB,\u30D5\u30A1\u30F3\u30D6\u30EB)\u3092\u8868\u793A\n\n\n\u25A0\u30E9\u30F3\u30C0\u30E0\u30A4\u30D9\u30F3\u30C8\u3000\u3000RET\n\u25A0\u795E\u5668\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000aksT a:\u8868(A\u304BB) k:\u7A2E\u5225(K:\u8FD1\u63A5, S:\u5C04\u6483, M:\u9B54\u6CD5, Y:\u93A7, T:\u76FE, A:\u88C5\u98FE\u54C1) s:\u30E9\u30F3\u30AF(1\uFF5E5)\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) ⇒ DivineCharger

Returns a new instance of DivineCharger.



29
30
31
32
33
34
# File 'lib/bcdice/game_system/DivineCharger.rb', line 29

def initialize(command)
  super(command)

  @sort_barabara_dice = true # バラバラロール(Bコマンド)でソート有
  @d66_sort_type = D66SortType::NO_SORT
end

Instance Method Details

#eval_game_system_specific_command(command) ⇒ Object



36
37
38
39
40
# File 'lib/bcdice/game_system/DivineCharger.rb', line 36

def eval_game_system_specific_command(command)
  resolute_action(command) ||
    resolute_reverse(command) ||
    roll_tables(command, TABLES)
end