Class: BCDice::GameSystem::RogueLikeHalf

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

Constant Summary collapse

ID =

ゲームシステムの識別子

'RogueLikeHalf'
NAME =

ゲームシステム名

'ローグライクハーフ'
SORT_KEY =

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

'ろおくらいくはあふ'
HELP_MESSAGE =

ダイスボットの使い方

"\u25A0\u5224\u5B9A\u3000RH+x>=t        x:\u6280\u91CF\u70B9 t:\u9054\u6210\u5024(\u5A01\u529B)\n\n\u4F8B)RH+1>=5: \u30C0\u30A4\u30B9\u30921\u500B\u632F\u3063\u3066\u3001\u6280\u91CF\u70B91,\u9054\u6210\u50245\u306E\u7D50\u679C\u3092\u8868\u793A(\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB\u30FB\u30D5\u30A1\u30F3\u30D6\u30EB\u3082\u8868\u793A)\n\n\u25A0D33\u3000D33+x        x:\u4FEE\u6B63\u5024\n\n\u4F8B)D33: 3\u9762\u30C0\u30A4\u30B9\u30922\u500B\u632F\u3063\u3066\u3001\u305D\u306E\u7D50\u679C\u3092\u8868\u793A\u3002\n\n\u25A0\u5B9D\u7269\u8868\u3000NTT+x     x:\u4FEE\u6B63\u5024\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) ⇒ RogueLikeHalf



28
29
30
31
32
# File 'lib/bcdice/game_system/RogueLikeHalf.rb', line 28

def initialize(command)
  super(command)

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

Instance Method Details

#eval_game_system_specific_command(command) ⇒ Object



34
35
36
37
38
# File 'lib/bcdice/game_system/RogueLikeHalf.rb', line 34

def eval_game_system_specific_command(command)
  resolute_action(command) ||
    resolute_d33(command) ||
    roll_table_command(command)
end