Jump to content

Template:Gen 1 Stat Calculator: Difference between revisions

m
adjusted formula to use a precalculated stat exp
No edit summary
m (adjusted formula to use a precalculated stat exp)
 
(3 intermediate revisions by the same user not shown)
Line 1:
<includeonly>{{#iferror:{{#switch: {{{5}}}
|HP = {{#expr: floor(((({{{1}}} + {{{3}}}) * 2 + floor(ceil(sqrt {{{2}}}) / 4)) * {{{4}}}) / 100) + {{{4}}} + 10}}
|#default = {{#expr: floor(((({{{1}}} + {{{3}}}) * 2 + floor(ceil(sqrt {{{2}}}) / 4)) * {{{4}}}) / 100) + 5}}
}}|error}}</includeonly><noinclude>
<!-- Args: Base Stat, Pre-computed Stat EXP (0-63), DVs, Level, Is HP stat? !-->
{{Gen_1_Stat_Calculator|6535|6553563|157|5081|HP}}
 
{{Gen_1_Stat_Calculator|error65|6553563|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.