Template:HealingInfo: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Fix category name) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{HealingInfo/Primitive | ||
| count = {{{count | | |||
{{#explode: {{lc: {{{1}}} }} | d | 0 }} | |||
}}} | |||
| die = {{{die | | |||
{{#explode: {{#replace: {{lc: {{{1}}} }} | d | + }} | + | 1 }} | |||
}}} | |||
| plus = {{{plus | | |||
{{#if: {{#pos: {{{1}}} | + }} | |||
| {{#explode: {{#replace: {{lc: {{{1}}} }} | d | + }} | + | 2}} | |||
| 0 }} | |||
}}} | |||
| modifier = {{{modifier | }}} | |||
| per = {{{per | }}} | |||
}}</includeonly><noinclude> | |||
Examples: | |||
{{code|<nowiki>{{HealingInfo | 1d8 }}</nowiki>}} | |||
{{HealingInfo | 1d8 }} | |||
--- | |||
{{code|<nowiki>{{HealingInfo | 1d4+1 }}</nowiki>}} | |||
{{HealingInfo | 1d4+1 }} | |||
--- | |||
{{code|<nowiki>{{HealingInfo | 1d12 | per = turn }}</nowiki>}} | |||
{{HealingInfo | 1d12 | per = turn }} | |||
--- | |||
{{code|<nowiki>{{HealingInfo | 1d8 | modifier = spell | per = ally }}</nowiki>}} | |||
{{HealingInfo | 1d8 | modifier = spell | per = ally }} | |||
--- | |||
{{code|<nowiki>{{HealingInfo | 1d8 | modifier = Wisdom }}</nowiki>}} | |||
{{HealingInfo | 1d8 | modifier = Wisdom }} | |||
--- | |||
[[Category:Damage info templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 16:09, 10 October 2023
Examples:
{{HealingInfo | 1d8 }}
1d8 (1~8) Hit Points
---
{{HealingInfo | 1d4+1 }}
1d4 + 1 (2~5) Hit Points
---
{{HealingInfo | 1d12 | per = turn }}
1d12 (1~12) per turn Hit Points
---
{{HealingInfo | 1d8 | modifier = spell | per = ally }}
1d8 (1~8) + spellcasting modifier per ally Hit Points
---
{{HealingInfo | 1d8 | modifier = Wisdom }}
1d8 (1~8) + Wisdom modifier Hit Points
---