Class: BCDice::GameSystem::Magius

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

Direct Known Subclasses

Magius_3rdNewTokyoCity

Constant Summary collapse

ID =

ゲームシステムの識別子

'Magius'
NAME =

ゲームシステム名

'MAGIUS'
SORT_KEY =

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

'まきうす'
HELP_MESSAGE =

ダイスボットの使い方

"\u25A0\u80FD\u529B\u5024\u5224\u5B9A\u3000MA+x>=t        x:\u4FEE\u6B63\u5024 t:\u76EE\u6A19\u5024\n\u4F8B)MA>=7: \u30C0\u30A4\u30B9\u30922\u500B\u632F\u3063\u3066\u3001\u305D\u306E\u7D50\u679C\u3092\u8868\u793A\n\n\u25A0\u6280\u80FD\u5024\u5224\u5B9A\u3000MS+x>=t        x:\u4FEE\u6B63\u5024 t:\u76EE\u6A19\u5024\n\u4F8B)MS>=7: \u30C0\u30A4\u30B9\u30923\u500B\u632F\u3063\u3066\u3001\u305D\u306E\u3046\u3061\u4E0A\u4F4D2\u3064\u3092\u63A1\u7528\u3057\u3001\u7D50\u679C\u3092\u8868\u793A\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) ⇒ Magius

Returns a new instance of Magius.



27
28
29
30
31
# File 'lib/bcdice/game_system/Magius.rb', line 27

def initialize(command)
  super(command)

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

Instance Method Details

#eval_game_system_specific_command(command) ⇒ Object



33
34
35
36
# File 'lib/bcdice/game_system/Magius.rb', line 33

def eval_game_system_specific_command(command)
  resolute_ability_action(command) ||
    resolute_skill_action(command)
end