Class: BCDice::GameSystem::PersonaO
- Defined in:
- lib/bcdice/game_system/PersonaO.rb
Constant Summary collapse
- ID =
ゲームシステムのの識別子
'PersonaO'- NAME =
ゲームシステム名
'ペルソナTRPG-O'- SORT_KEY =
ゲームシステム名の読みがな
'へるそなTRPGO'- HELP_MESSAGE =
ダイスボットの使い方
"\u30FB\u57FA\u672C\u5224\u5B9A\n\u3000PTx@y\u3000x\uFF1A\u76EE\u6A19\u5024\u3001y\uFF1A\u30AF\u30EA\u30C6\u30A3\u30AB\u30EB\u5024\uFF08\u7701\u7565\u6642\u306F5\uFF09\n\u3000\u4F8B\uFF09PT60\u3000PT90@10\n\n\u30FB\u30C0\u30E1\u30FC\u30B8\u8A08\u7B97\n\u3000nPD+(x+y*2)%(z-a)-b\u3000n\uFF1A\u30C0\u30A4\u30B9\u500B\u6570\u3001x\uFF1A\u30B9\u30AD\u30EB\u56FA\u5B9A\u5024\u3001y\uFF1A\u30DC\u30FC\u30CA\u30B9\u3001z\uFF1A\u30D0\u30D5\u500D\u7387\u3001a\uFF1A\u8010\u6027\u3001b\uFF1A\u6575\u9632\u5FA1\u529B\n\u3000nPD+(x+y*2)\u307E\u3067\u304C\u30B9\u30AD\u30EB\u306B\u3088\u308B\u7D20\u306E\u30C0\u30E1\u30FC\u30B8\u3001z\u304A\u3088\u3073a\u306F\u8A08\u7B97\u5F0F\u3092\u5165\u308C\u3066\u3088\u3044\u3002\n\u3000\n\u3000\u4F8B\uFF09\u30BD\u30CB\u30C3\u30AF\u30D1\u30F3\u30C1\u3001\u529BB2\u70B9\u3001\n\u3000\u3000\u3000\u30BF\u30EB\u30AB\u30B8\u30E3\u304C\u304B\u304B\u3063\u3066\u304A\u308A\u3001\u6253\u6483\u8010\u6027\u3042\u308A\u3001\n\u3000\u3000\u3000\u76EE\u6A19\u306E\u7269\u7406\u9632\u5FA1\u529B\u306F2\u70B9\n\u3000\u3000\u3000\n\u3000\u3000\u30002PD+(20+2*2)%(100+50-50)-2\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
Constructor Details
This class inherits a constructor from BCDice::Base
Instance Method Details
#eval_game_system_specific_command(command) ⇒ Object
37 38 39 |
# File 'lib/bcdice/game_system/PersonaO.rb', line 37 def eval_game_system_specific_command(command) roll_attack(command) || roll_damage(command) end |