Class: BCDice::GameSystem::Utakaze

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

Constant Summary collapse

ID =

ゲームシステムの識別子

'Utakaze'
NAME =

ゲームシステム名

'ウタカゼ'
SORT_KEY =

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

'うたかせ'
HELP_MESSAGE =

ダイスボットの使い方

"\u30FB\u884C\u70BA\u5224\u5B9A\u30ED\u30FC\u30EB\uFF08nUK\uFF09\n  n\u500B\u306E\u30B5\u30A4\u30B3\u30ED\u3067\u884C\u70BA\u5224\u5B9A\u30ED\u30FC\u30EB\u3002\u30BE\u30ED\u76EE\u306E\u6700\u5927\u500B\u6570\u3092\u6210\u529F\u30EC\u30D9\u30EB\u3068\u3057\u3066\u8868\u793A\u3002n\u3092\u7701\u7565\u3059\u308B\u30682UK\u6271\u3044\u3002\n  \u4F8B\uFF093UK \uFF1A\u30B5\u30A4\u30B3\u30ED3\u500B\u3067\u884C\u70BA\u5224\u5B9A\n  \u4F8B\uFF09UK  \uFF1A\u30B5\u30A4\u30B3\u30ED2\u500B\u3067\u884C\u70BA\u5224\u5B9A\n\u30FB\u96E3\u6613\u5EA6\u4ED8\u304D\u884C\u70BA\u5224\u5B9A\u30ED\u30FC\u30EB\uFF08nUK>=t\uFF09\n  t\u306B\u96E3\u6613\u5EA6\u3092\u6307\u5B9A\u3057\u305F\u884C\u70BA\u5224\u5B9A\u30ED\u30FC\u30EB\u3002\n  \u6210\u529F\u30EC\u30D9\u30EB\u3068\u96E3\u6613\u5EA6t\u3092\u6BD4\u3079\u3066\u6210\u5426\u3092\u5224\u5B9A\u3057\u307E\u3059\u3002\n  \u4F8B\uFF096UK>=3 \uFF1A\u30B5\u30A4\u30B3\u30ED6\u500B\u3067\u884C\u70BA\u5224\u5B9A\u3057\u3066\u3001\u6210\u529F\u30EC\u30D9\u30EB3\u304C\u51FA\u308C\u3070\u6210\u529F\u3002\n\u30FB\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB\u30B3\u30FC\u30EB\u4ED8\u304D\u884C\u70BA\u5224\u5B9A\u30ED\u30FC\u30EB\uFF08nUK@c or nUKc\uFF09\n  c\u306B\u300C\u9F8D\u306E\u30C0\u30A4\u30B9\u76EE\u300D\u3092\u6307\u5B9A\u3057\u305F\u884C\u70BA\u5224\u5B9A\u30ED\u30FC\u30EB\u3002\n  \u30BE\u30ED\u76EE\u3067\u306F\u306A\u304F\u3001c\u3068\u540C\u3058\u5024\u306E\u51FA\u76EE\u6570x2\u304C\u6210\u529F\u30EC\u30D9\u30EB\u3068\u306A\u308A\u307E\u3059\u3002\u96E3\u6613\u5EA6\u306E\u6307\u5B9A\u3082\u53EF\u80FD\u3067\u3059\u3002\n  \u4F8B\uFF093UK@5 \uFF1A\u9F8D\u306E\u30C0\u30A4\u30B9\u300C\u6708\u300D\u3067\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB\u30B3\u30FC\u30EB\u5BA3\u8A00\u3057\u305F\u30B5\u30A4\u30B3\u30ED3\u500B\u306E\u884C\u70BA\u5224\u5B9A\n \u30FB\u5BFE\u6297\u5224\u5B9A\u30ED\u30FC\u30EB(nUR[@c], nUO[@c]) n:\u30C0\u30A4\u30B9\u6570 c:\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB\u30B3\u30FC\u30EB\n \u3000\u884C\u70BA\u5224\u5B9A\u30ED\u30FC\u30EB\u3068\u540C\u69D8\u306B\u30ED\u30FC\u30EB\u3059\u308B\u304C\u3001\u6700\u671F\u306B\u6210\u529F\u30EC\u30D9\u30EB\u3068\u30BB\u30C3\u30C8\u6570\u304B\u3089\u6C42\u3081\u305F\u30DE\u30B8\u30C3\u30AF\u30CA\u30F3\u30D0\u30FC\u304C\u8868\u793A\u3055\u308C\u308B\u3002\n \u3000\u30DE\u30B8\u30C3\u30AF\u30CA\u30F3\u30D0\u30FC\u306E\u5927\u304D\u3044\u3082\u306E\u304C\u6210\u529F\u3001\u540C\u5024\u306F\u5F15\u304D\u5206\u3051\u3002\n \u3000\u30C0\u30A4\u30B9\u306F18\u500B\u307E\u3067\u5BFE\u5FDC\u3002\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, #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



37
38
39
40
41
42
# File 'lib/bcdice/game_system/Utakaze.rb', line 37

def eval_game_system_specific_command(command)
  debug('eval_game_system_specific_command command', command)

  check_roll(command) ||
    opposed_roll(command)
end