Class: BCDice::GameSystem::FullFace

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

Constant Summary collapse

ID =

ゲームシステムの識別子

'FullFace'
NAME =

ゲームシステム名

'フルフェイス'
SORT_KEY =

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

'ふるふえいす'
HELP_MESSAGE =

ダイスボットの使い方

"\u25A0\u5224\u5B9A\u3000x+bFF<=a[,t][&d]   x:\u30D2\u30FC\u30C8(\u7701\u7565\u6642\u306F3) b:\u5224\u5B9A\u4FEE\u6B63 a:\u80FD\u529B\u5024 t:\u96E3\u6613\u5EA6(\u7701\u7565\u53EF) d:\u57FA\u672C\u30C0\u30E1\u30FC\u30B8(\u7701\u7565\u53EF)\n\n\u4F8B)FF<=2:     \u80FD\u529B\u50242\u3067\u5224\u5B9A\u3057\u3001\u305D\u306E\u7D50\u679C(\u6210\u529F\u6570,1\u306E\u76EE\u306E\u6570,6\u306E\u76EE\u306E\u6570,\u30D0\u30FC\u30B9\u30C8)\u3092\u8868\u793A\u3002\n   6FF<=3:    \u30D2\u30FC\u30C86,\u80FD\u529B\u50243\u3067\u6226\u95D8\u5224\u5B9A\u3057\u3001\u305D\u306E\u7D50\u679C( \u3003 )\u3092\u8868\u793A\u3002\n   8+2FF<=3:  \u30D2\u30FC\u30C88,\u5224\u5B9A\u4FEE\u6B63+2,\u80FD\u529B\u50243\u3067\u6226\u95D8\u5224\u5B9A\u3057\u3001\u305D\u306E\u7D50\u679C( \u3003 )\u3092\u8868\u793A\u3002\n   FF<=2,1:   \u80FD\u529B\u50242,\u96E3\u6613\u5EA61\u3067\u5224\u5B9A\u3057\u3001\u305D\u306E\u7D50\u679C(\u6210\u529F\u6570,1\u306E\u76EE\u306E\u6570,6\u306E\u76EE\u306E\u6570,\u6210\u529F\u30FB\u5931\u6557,\u30D0\u30FC\u30B9\u30C8)\u3092\u8868\u793A\u3002\n   6FF<=3,2&1:\u30D2\u30FC\u30C86,\u80FD\u529B\u50243,\u96E3\u6613\u5EA62,\u57FA\u672C\u30C0\u30E1\u30FC\u30B81\u3067\u6226\u95D8\u5224\u5B9A\u3057\u3001\u305D\u306E\u7D50\u679C(\u6210\u529F\u6570,1\u306E\u76EE\u306E\u6570,6\u306E\u76EE\u306E\u6570,\u30C0\u30E1\u30FC\u30B8,\u30D0\u30FC\u30B9\u30C8)\u3092\u8868\u793A\u3002\n\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, prefixes_pattern, register_prefix, register_prefix_from_super_class, #sort_add_dice?, #sort_barabara_dice?

Methods included from Translate

#translate

Constructor Details

#initialize(command) ⇒ FullFace

Returns a new instance of FullFace.



29
30
31
32
33
# File 'lib/bcdice/game_system/FullFace.rb', line 29

def initialize(command)
  super(command)

  @sort_barabara_dice = true # バラバラロール(Bコマンド)でソート有
end

Instance Method Details

#eval_game_system_specific_command(command) ⇒ Object



35
36
37
# File 'lib/bcdice/game_system/FullFace.rb', line 35

def eval_game_system_specific_command(command)
  resolute_action(command)
end