Difference between revisions of "Template:Hptotal"
From Legends of Hyrule
Jump to navigationJump to searchm |
m |
||
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== |
Revision as of 10:41, 30 May 2016
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}}