Class: BCDice::GameSystem::DemonSpike

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

Constant Summary collapse

ID =

ゲームシステムの識別子

'DemonSpike'
NAME =

ゲームシステム名

'デモンスパイク'
SORT_KEY =

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

'てもんすはいく'
HELP_MESSAGE =

ダイスボットの使い方

<<~INFO_MESSAGE_TEXT
  ・行為判定 xDS+y
   行為判定を行い、達成値、成否、成功度を出力する。
   x: ダイス数(省略:2)
   y: 能力値やスパイク能力による達成値の修正(省略可)
INFO_MESSAGE_TEXT

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



25
26
27
# File 'lib/bcdice/game_system/DemonSpike.rb', line 25

def eval_game_system_specific_command(command)
  roll_action(command)
end