9,869
editsno edit summary
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
}}} | }}} | ||
| die = {{{die | | | die = {{{die | | ||
<!-- To get the die out of e.g. "2d6 + 3", we turn it into "2+6 + 3", use '+' as the #explode separator. --> | |||
{{#explode: {{#replace: {{lc: {{{1}}} }} | d | + }} | + | 1 }} | {{#explode: {{#replace: {{lc: {{{1}}} }} | d | + }} | + | 1 }} | ||
}}} | }}} | ||
| plus = {{{plus | | | plus = {{{plus | | ||
{{#if: {{#pos: {{{1}}} | + }} | {{#if: {{#pos: {{{1}}} | + }} | ||
| {{#explode | | {{#explode: {{lc: {{{1}}} }} | + | -1 }} | ||
| 0 }} | | 0 }} | ||
}}} | }}} |