Jump to content

Template:Gen 1 Stat Calculator: Difference between revisions

m
adjusted formula to use a precalculated stat exp
mNo edit summary
m (adjusted formula to use a precalculated stat exp)
 
(11 intermediate revisions by the same user not shown)
Line 1:
<includeonly>{{#iferror:{{#switch: {{{5}}}
<!-- Args: Base Stat, Stat EXP, DVs, Level, Is HP stat? !-->
|#defaultHP = {{#expr: floor(((({{{1}}} + {{{3}}}) * 2 + (sqrt(({{{2}}}-1) +* 1{{{4}}}) / 4)round0100) *+ {{{4}}}) / 100)round0 + 510}}
{{#switch: {{{5}}}
|HP#default = {{#expr: floor(((({{{1}}} + {{{3}}}) * 2 + (sqrt(({{{2}}}-1) + 1) / 4)round0) * {{{4}}}) / 100)round0 + {{{4}} + 105}}
}}|error}}</includeonly><noinclude>
|#default = {{#expr: (((({{{1}}} + {{{3}}}) * 2 + (sqrt(({{{2}}}-1) + 1) / 4)round0) * {{{4}}}) / 100)round0 + 5}}
<!-- Args: Base Stat, Pre-computed Stat EXP (0-63), DVs, Level, Is HP stat? !-->
}}
{{Gen_1_Stat_Calculator|35|63|7|81|HP}}
 
{{Gen_1_Stat_Calculator|65|63|15|50|HP}}
 
{{Gen_1_Stat_Calculator|error|63|15|50|HP}}
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.