Steve-V/tgg-BotSteve — Issue #118: Expand the dice syntax
Author: Steve-V
Created: 2011-12-31 03:59:06+00:00
State: open

(09:17:30 PM) tonsofpcs: .dice [[x][#][d]y[(+|-)z][(+|-)[w](l|h)]]
(09:17:35 PM) tonsofpcs: [] == what is inside here is optional
(09:17:47 PM) tonsofpcs: () = what's inside here is required [if you're doing the option it is contained in]
(09:17:51 PM) tonsofpcs: x|y = x or y
(09:18:02 PM) tonsofpcs: #, d, l, h, +, and - are all literal, everything else is a variable
(09:18:09 PM) tonsofpcs: so, if everything is used:
(09:18:23 PM) tonsofpcs: actually, let me revise that
(09:18:44 PM) tonsofpcs: .dice [[x][#][d]y[(+|-)[w](l|h)][(+|-)z]]
(09:19:14 PM) tonsofpcs: so if everything is used:
(09:19:51 PM) tonsofpcs: .dice 5#d6-2l+7 = 5 6-sided dice, subtract the two lowest, add 7, # = show me the individual dice
(09:19:55 PM) tonsofpcs: also, I need to fix that syntax
(09:20:03 PM) tonsofpcs: .dice [[x][#][d]y[-[w](l|h)][(+|-)z]]
(09:20:14 PM) tonsofpcs: because you can't add the lowest or highest ;)
(09:21:04 PM) tonsofpcs: so 4d6-l is roll 4 d6 and drop the lowest one (possible outcomes: 3 - 18, centered around... oh, I forget the math)
(09:22:45 PM) BatSteve: **So really, the only difference between the current syntax and the proposed syntax is the ability to add or drop dice**
(09:22:52 PM) tonsofpcs: and the #
(09:40:09 PM) tonsofpcs: .dice [[[x]['#']('d'|' ')]y['-'[w]('L'|'H')][('+'|'-')z]]