Template:Gen 1 Stat Calculator: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
m (added error handling)
mNo edit summary
Line 1: Line 1:
<!-- Args: Base Stat, Stat EXP, DVs, Level, Is HP stat? !-->
<!-- Args: Base Stat, Stat EXP, DVs, Level, Is HP stat? !-->
<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>
<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>
<noinclude>
{{Gen_1_Stat_Calculator|65|65535|15|50|HP}}
{{Gen_1_Stat_Calculator|65|65535|15|50|HP}}

Revision as of 04:32, 7 May 2023



172


error