Class: BCDice::GameSystem::Oukahoushin3rd

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

Constant Summary collapse

ID =

ゲームシステムの識別子

'Oukahoushin3rd'
NAME =

ゲームシステム名

'央華封神RPG 第三版'
SORT_KEY =

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

'おうかほうしんRPG3'
HELP_MESSAGE =

ダイスボットの使い方

<<~INFO_MESSAGE_TEXT
  ・各種表
   ・能力値判定裏成功表(NHT)
   ・武器攻撃裏成功表(BKT)
   ・受け・回避裏成功表(UKT)
   ・仙術行使裏成功表(SKT)
   ・仙術抵抗裏成功表(STT)
   ・精神値ダメージ悪影響表(SDT)
   ・狂気表(KKT)
INFO_MESSAGE_TEXT

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



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

def eval_game_system_specific_command(command)
  chosen = roll_tables(command, TABLES)
  return replace_dice_notation(chosen)
end