Class: BCDice::GameSystem::Lost

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

Constant Summary collapse

ID =

ゲームシステムの識別子

'Lost'
NAME =

ゲームシステム名

'10_st'
SORT_KEY =

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

'ろすと'
HELP_MESSAGE =

ダイスボットの使い方

"\u25A0 exp10_deX\n\u3000\u7279\u6B8A\u306A10\u9762\u30C0\u30A4\u30B9\u3092\u30ED\u30FC\u30EB\u3057\u3066\u30011\u306E\u51FA\u76EE\u306E\u6570\u3092\u30AB\u30A6\u30F3\u30C8\u3057\u307E\u3059\u3002\u300Ca11_0ut\u300D\u3068\u300Cs10_th\u300D\u3092\u5224\u5B9A\u3057\u307E\u3059\u3002\n\u3000X: \u30C0\u30A4\u30B9\u6570\uFF08\u7701\u7565\u6642 1\uFF09\n\n\u25A0 g01_denX\n\u3000\u7279\u6B8A\u306A20\u9762\u30C0\u30A4\u30B9\u3092\u30ED\u30FC\u30EB\u3057\u3066\u3001\u300C0_lation\u300D\u304B\u306E\u5224\u5B9A\u3092\u3057\u307E\u3059\u3002\n\u3000X: \u30C0\u30A4\u30B9\u6570\uFF08\u7701\u7565\u6642 1\uFF09\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



28
29
30
# File 'lib/bcdice/game_system/Lost.rb', line 28

def eval_game_system_specific_command(command)
  roll_explode(command) || roll_golden(command)
end