70,989
editsSlightly better parsing to avoid catching on 'd's when specifying a non-die value
m (Changed superiority die from Physical damage to Weapon damage) |
HiddenDragon (talk | contribs) (Slightly better parsing to avoid catching on 'd's when specifying a non-die value) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly>{{#lvardef: die | {{{die|}}} }}{{#lvardef: count | {{{count|}}} }}{{#if: {{#pos: {{lc:{{{1|}}}}} | d20}} | {{#lvardef: die | 20}}{{#lvardef: count | {{#sub: {{{1}}} | 0 | {{#pos: {{lc:{{{1|}}}}} | d20}} }} }} | {{#if: {{#pos: {{lc:{{{1|}}}}} | d12}} | {{#lvardef: die | 12}}{{#lvardef: count | {{#sub: {{{1}}} | 0 | {{#pos: {{lc:{{{1|}}}}} | d12}} }} }} | {{#if: {{#pos: {{lc:{{{1|}}}}} | d10}} | {{#lvardef: die | 10}}{{#lvardef: count | {{#sub: {{{1}}} | 0 | {{#pos: {{lc:{{{1|}}}}} | d10}} }} }} | {{#if: {{#pos: {{lc:{{{1|}}}}} | d8}} | {{#lvardef: die | 8}}{{#lvardef: count | {{#sub: {{{1}}} | 0 | {{#pos: {{lc:{{{1|}}}}} | d8}} }} }} | {{#if: {{#pos: {{lc:{{{1|}}}}} | d6}} | {{#lvardef: die | 6}}{{#lvardef: count | {{#sub: {{{1}}} | 0 | {{#pos: {{lc:{{{1|}}}}} | d6}} }} }} | {{#if: {{#pos: {{lc:{{{1|}}}}} | d4}} | {{#lvardef: die | 4}}{{#lvardef: count | {{#sub: {{{1}}} | 0 | {{#pos: {{lc:{{{1|}}}}} | d4}} }} }} | }} }} }} }} }} }}{{#switch: {{{1}}} | ||
| | | unarmed = {{InfoBlob | [[Unarmed Strike|Unarmed damage]] {{DamageType|Bludgeoning}} }} | ||
| weapon = {{InfoBlob | Normal | | weapon = {{InfoBlob | Normal weapon damage }} | ||
| half weapon = {{InfoBlob | 1/2 Normal | | half weapon = {{InfoBlob | 1/2 Normal weapon damage }} | ||
| superiority die = {{InfoBlob | {{DamageColor|Weapon|{{R|supdie|icononly=yes}}[[Superiority Die]] {{DamageType|Weapon}} | | superiority die = {{InfoBlob | {{DamageColor|Weapon|{{R|supdie|icononly=yes}}[[Superiority Die]] {{DamageType|Weapon}} damage}} }} | ||
| #default = {{DamageInfo/Primitive | | #default = {{DamageInfo/Primitive | ||
| flat value = | | flat value = | ||
Line 10: | Line 10: | ||
| proficiency = proficiency | | proficiency = proficiency | ||
| #default = | | #default = | ||
{{#if: {{# | {{#if: {{#lvar: die }} | ||
| <!--nothing--> | | <!--nothing--> | ||
| {{{1|}}} | | {{{1|}}} | ||
}} | }} | ||
}} | }} | ||
| count = | | count = {{#lvar: count }} | ||
| die = {{#lvar: die }} | |||
| die = | |||
| plus = {{{plus | | | plus = {{{plus | | ||
{{#if: {{#pos: {{{1}}} | + }} | {{#if: {{#pos: {{{1}}} | + }} | ||
Line 39: | Line 30: | ||
| save effect = {{{save effect | }}} | | save effect = {{{save effect | }}} | ||
| con = {{#ifeq: {{{3|}}} | con | yes | {{{con | }}}}} | | con = {{#ifeq: {{{3|}}} | con | yes | {{{con | }}}}} | ||
| delayed = {{#ifeq: {{{3|}}} | delayed | yes | {{{delayed | }}}}} | |||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{hatnote|See also [[Template: | {{hatnote|See also [[Template:Damage info/Primitive]]}}{{documentation|content= | ||
== New usage == | == New usage == | ||
Line 152: | Line 144: | ||
{{code|<nowiki>{{DamageInfo | 2d6 | Acid | con}}</nowiki>}} | {{code|<nowiki>{{DamageInfo | 2d6 | Acid | con}}</nowiki>}} | ||
{{DamageInfo | 2d6 | Acid | con | {{DamageInfo | 2d6 | Acid | con | ||
}} | |||
--- | |||
{{code|<nowiki>{{DamageInfo | 2d6 | Acid | delayed}}</nowiki>}} | |||
{{DamageInfo | 2d6 | Acid | delayed | |||
}} | }} | ||