Template:Gen 1 Stat Calculator: Difference between revisions
m
adjusted formula to use a precalculated stat exp
CytricAcid (talk | contribs) m (added error handling) |
CytricAcid (talk | contribs) m (adjusted formula to use a precalculated stat exp) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1:
<!-- Args: Base Stat, Stat EXP, DVs, Level, Is HP stat? !-->▼
<includeonly>{{#iferror:{{#switch: {{{5}}}
|HP = {{#expr: floor(((({{{1}}} + {{{3}}}) * 2 +
|#default = {{#expr: floor(((({{{1}}} + {{{3}}}) * 2 +
}}|error}}</includeonly><noinclude>
▲<!-- Args: Base Stat, Pre-computed Stat EXP (0-63), DVs, Level, Is HP stat? !-->
{{Gen_1_Stat_Calculator|
{{Gen_1_Stat_Calculator|error|65535|15|50|HP}}▼
{{Gen_1_Stat_Calculator|65|63|15|50|HP}}
</noinclude>
|