Class: BCDice::GameSystem::NanimonaiMura

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

Defined Under Namespace

Classes: ResultData

Constant Summary collapse

ID =

ゲームシステムの識別子

"NanimonaiMura"
NAME =

ゲームシステム名

"なにもない村"
SORT_KEY =

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

"なにもないむら"
HELP_MESSAGE =

ダイスボットの使い方

"\u30FB\u884C\u70BA\u5224\u5B9A xNMy\n\u3000x\u500B\u306ED10\u3092\u632F\u308A\u30012\u3064\u306E\u51FA\u76EE\u304B\u3089\u9054\u6210\u5024\u3092\u4F5C\u6210\u3057\u3066\u5224\u5B9A\u3057\u307E\u3059\u3002\n\u3000\u9054\u6210\u5024\u306F\u6210\u529F\u5EA6\u304C\u6700\u3082\u9AD8\u304F\u306A\u308B\u7D44\u307F\u5408\u308F\u305B\u3092\u81EA\u52D5\u9078\u629E\u3057\u3001\u540C\u5024\u306A\u3089\u4F4E\u3044\u5024\u3092\u512A\u5148\u3057\u307E\u3059\u3002\n\u3000x: \u30C0\u30A4\u30B9\u6570\uFF081\u4EE5\u4E0A\uFF09\n\u3000y: \u5224\u5B9A\u5024\uFF080\u4EE5\u4E0A\uFF09\n\u3000\u4F8B\uFF094NM55 6NM199 2NM35\n"
STAGE_NAMES =
['ノーマル', 'エピック', 'レジェンダリ', 'ミシック'].freeze
BASE_SUCCESS_LEVELS =
[1, 11, 21, 31].freeze

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



32
33
34
# File 'lib/bcdice/game_system/NanimonaiMura.rb', line 32

def eval_game_system_specific_command(command)
  roll_action(command)
end