Class: BCDice::GameSystem::KinAriel

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

Constant Summary collapse

ID =

ゲームシステムの識別子

'KinAriel'
NAME =

ゲームシステム名

'キナリエル'
SORT_KEY =

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

'きなりえる'
HELP_MESSAGE =

ダイスボットの使い方

<<~INFO_MESSAGETEXT
  ■判定 KA<=t            t: 目標値

  例)KA<=50: 目標値50で結果を表示(クリティカル、ファンブル、成功、失敗)

  ■対抗判定 VS<=t        t: 目標値

  例)VS<=50: 目標値50で最大5回振って、その結果を表示。
INFO_MESSAGETEXT

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/KinAriel.rb', line 28

def eval_game_system_specific_command(command)
  resolute_action(command) || resolute_competition(command)
end