Class: BCDice::GameSystem::Fiasco

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

Direct Known Subclasses

Fiasco_Korean

Defined Under Namespace

Classes: Side

Constant Summary collapse

ID =

ゲームシステムの識別子

'Fiasco'
NAME =

ゲームシステム名

'フィアスコ'
SORT_KEY =

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

'ふいあすこ'
HELP_MESSAGE =

ダイスボットの使い方

<<INFO_MESSAGE_TEXT
  ・判定コマンド(FSx, WxBx)
    相関図・転落要素用(FSx):相関図や転落要素のためにx個ダイスを振り、出目ごとに分類する
    黒白差分判定用(WxBx)  :転落、残響のために白ダイス(W指定)と黒ダイス(B指定)で差分を求める
      ※ WとBは片方指定(Bx, Wx)、入替指定(WxBx,BxWx)可能
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/Fiasco.rb', line 25

def eval_game_system_specific_command(command)
  roll_fs(command) || roll_white_black(command) || roll_white_black_single(command)
end