Difference between revisions of "Template:Hptotal"
From Legends of Hyrule
Jump to navigationJump to searchm |
m (Guy moved page Template:Hp to Template:Hptotal) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#expr: {{#expr: ({{{1}}} * (({{{2}}}/2)+0.5)) {{#if:{{{3|}}}|+ ({{{3|}}} * {{{1|}}})|}}}} round 0}}</includeonly><noinclude> | + | <includeonly>{{#expr: {{#expr: (({{{1}}} * (({{{2}}}/2)+0.5)-0.5)) {{#if:{{{3|}}}|+ ({{{3|}}} * {{{1|}}})|}}}} round 0}}</includeonly><noinclude> |
==Usage== | ==Usage== |
Latest revision as of 03:42, 12 July 2019
Usage
This template calculates the average HP of a creature based on its HD (hit die) size, HD count, and Constitution modifier. To use it, simply type in the following example.
{{hp|count|size|con}}
Replace "size" with the size of the HD, such as 6, 8 or 10. Replace "count" with how many HD the creature possesses. Finally, replace "con" with the creature's Constitution modifier. As an example, a typical Beholder has 19d10 HD with a Constitution modifier of +4. Below, you'll see how the template would look when filled out for a Beholder.
{{hp|19|10|4}}