Ad placeholder

Template:Damage info: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 2: Line 2:
| weapon = {{InfoBlob | Normal Weapon Damage }}
| weapon = {{InfoBlob | Normal Weapon Damage }}
| #default = {{DamageInfo/Primitive
| #default = {{DamageInfo/Primitive
| flat value = {{#if: {{#pos: {{{1}}} | d }} {{#pos: {{{1}}} | + }} | <!--nothing--> | {{{1}}} }}
| flat value = {{#if: {{#pos: {{{1|}}} | d }} {{#pos: {{{1|}}} | + }} | <!--nothing--> | {{{1|}}} }}
| count = {{{count |
| count = {{{count |
   {{#if: {{#pos: {{{1}}} | d }} |
   {{#if: {{#pos: {{{1}}} | d }} |
Line 17: Line 17:
   {{#if: {{#pos: {{{1}}} | + }}
   {{#if: {{#pos: {{{1}}} | + }}
     | {{#explode: {{lc: {{{1}}} }} | + | -1 }}
     | {{#explode: {{lc: {{{1}}} }} | + | -1 }}
     | 0 }}
     | 0
  }}
}}}
}}}
| type = {{{type | {{{2}}} }}}
| type = {{{type | {{{2}}} }}}
Line 29: Line 30:


Examples:
Examples:
{{code|<nowiki>{{DamageInfo | 2 | Acid }}</nowiki>}}
{{DamageInfo | 2 | Acid }}
---
{{code|<nowiki>{{DamageInfo | +2 | Acid }}</nowiki>}}
{{DamageInfo | +2 | Acid }}
---


{{code|<nowiki>{{DamageInfo | 1d8 | Slashing}}</nowiki>}}
{{code|<nowiki>{{DamageInfo | 1d8 | Slashing}}</nowiki>}}

Navigation menu