Template:Gen 1 Stat Calculator: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
No 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? !-->
{{#switch: {{{5}}}
{{#switch: {{{5}}}
|HP = {{#expr: (((({{{1}}} + {{{3}}}) * 2 + (sqrt(({{{2}}}-1) + 1) / 4)round0) * {{{4}}}) / 100)round0 + {{{4}} + 10}}
|HP = {{#expr: floor(((({{{1}}} + {{{3}}}) * 2 + floor(ceil(sqrt {{{2}}}) / 4)) * {{{4}}}) / 100) + {{{4}}} + 10}}
|#default = {{#expr: (((({{{1}}} + {{{3}}}) * 2 + (sqrt(({{{2}}}-1) + 1) / 4)round0) * {{{4}}}) / 100)round0 + 5}}
|#default = {{#expr: floor(((({{{1}}} + {{{3}}}) * 2 + floor(ceil(sqrt {{{2}}}) / 4)) * {{{4}}}) / 100) + 5}}
}}
}}

Revision as of 04:12, 7 May 2023

Expression error: Unrecognized punctuation character "{".