Class: BCDice::GameSystem::WorldEndScrapyard

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

Constant Summary collapse

ID =

ゲームシステムの識別子

'WorldEndScrapyard'
NAME =

ゲームシステム名

'World End scrapyard'
SORT_KEY =

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

'わあるとえんとすくらつふやあと'
HELP_MESSAGE =

ダイスボットの使い方

"\u25A0\u5224\u5B9A\u3000WES<=t   t:\u6210\u529F\u7387({\u80FD\u529B\u5024}+{\u60AA\u904B})\n\u80FD\u529B\u5024\u306F(\u7B4B\u529B\u30FB\u654F\u6377\u30FB\u5668\u7528\u30FB\u77E5\u8B58\u30FB\u9B45\u529B)\u306E\u3044\u305A\u308C\u304B\u3002\n\u6210\u529F\u30FB\u5931\u6557\u30FB\u5DEE\u5206\u5024\u3092\u8868\u793A\u3059\u308B\u3002\n\n\u4F8B)WES<=20+10:\u80FD\u529B\u502420,\u60AA\u904B10\u3067\u5224\u5B9A\u3057\u3001\u305D\u306E\u7D50\u679C\u3092\u8868\u793A\u3059\u308B\u3002\n   WES<=30:   \u60AA\u904B30\u3067\u5224\u5B9A\u3057\u3001\u305D\u306E\u7D50\u679C\u3092\u8868\u793A\u3059\u308B\u3002\n\n\u25A0\u5404\u7A2E\u8868\n\u30FB\u300A\u5909\u7570\u8868\u300B           HEN HENC(\u4EFB\u610F\u9078\u629E,RoC\u306EC)\n\u30FB\u300A\u767A\u6398\u8868\u300B           HAK HAKC(  \u540C\u4E0A  )\n\u30FB\u300APC/NPC\u95A2\u4FC2\u6027\u8868\u300B   KAN\n\u30FB\u300A\u30B7\u30CA\u30EA\u30AA\u306E\u76EE\u7684\u8868\u300B MOK\n\u30FB\u300A\u30B7\u30CA\u30EA\u30AA\u306E\u5834\u6240\u8868\u300B BAS\n\u30FB\u300A\u767B\u5834NPC\u8868\u300B        TOJ\n\u30FB\u300A\u63A2\u7D22\u8868\u300B           TANx+b (x:\u30EC\u30D9\u30EB,1\uFF5E5 b:\u4FEE\u6B63+5)\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) ⇒ WorldEndScrapyard



36
37
38
39
40
# File 'lib/bcdice/game_system/WorldEndScrapyard.rb', line 36

def initialize(command)
  super(command)

  @round_type = RoundType::CEIL
end

Instance Method Details

#eval_game_system_specific_command(command) ⇒ Object



42
43
44
45
46
47
# File 'lib/bcdice/game_system/WorldEndScrapyard.rb', line 42

def eval_game_system_specific_command(command)
  resolute_action(command) ||
    roll_roc_table(command) ||
    roll_search_table(command) ||
    roll_tables(command, TABLES)
end