Class: BCDice::GameSystem::NegikureNegimaki
- Defined in:
- lib/bcdice/game_system/NegikureNegimaki.rb
Direct Known Subclasses
Constant Summary collapse
- ID =
ゲームシステムの識別子
"NegikureNegimaki"- NAME =
ゲームシステム名
"ネジクレネジマキ"- SORT_KEY =
ゲームシステム名の読みがな
"ねしくれねしまき"- HELP_MESSAGE =
ダイスボットの使い方
<<~INFO_MESSAGE_TEXT ■ 行為判定 nNNx#y: n個のD6を振り、x以上の出目の個数を成功レベルとして判定する n: ダイス数(省略時1) x: 難易度(省略時4) y: 要求成功レベル(省略時1、0は1として扱う) ■ 戦闘判定(アタック判定) nNAx#y: n個のD6を振り、x以上を成功とする。y以上の成功は直撃ダメージになる n: ダイス数(省略時1) x: 難易度(省略時4) y: クリティカル値(省略時6、0は1として扱う) 通常ダメージ = 成功レベル - 直撃ダメージ 直撃ダメージ = 成功した出目のうち y 以上の個数 ガッツ減少 = 出目 1 の個数 ■ ストライクの判定 nNS: n個のD6を振り、出目 1 の個数だけガッツ減少を算出する n: ダイス数(省略時1) ガッツ減少が 0 なら成功、1 以上なら失敗 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
Constructor Details
This class inherits a constructor from BCDice::Base
Instance Method Details
#eval_game_system_specific_command(command) ⇒ Object
40 41 42 |
# File 'lib/bcdice/game_system/NegikureNegimaki.rb', line 40 def eval_game_system_specific_command(command) return eval_action_command(command) || eval_attack_command(command) || eval_guts_command(command) end |