User:JenovaSPIRIT/ShieldDMGPercent
From SpiralKnights
Testing to create a template using enormous skillful mastermind coding copy-paste techniques :D
Parameters are called using {{{#}}} in the order in which they appear in templates and can be used for calculations.
This template requires:
1. the amount of pixel while the shield got max health
2. the remaining pixels at the first depth of a stratum
3. the remaining pixels at the last depth of a stratum
4. me to figure out how force the number showing a decimale if the decimale is 0
Old testing stuff. Glorious remnants of my first steps :3
With shield max pixels: {{{1}}}, first depth of stratum's remaining pixel {{{2}}} last depth of stratum's remaining pixels {{{3}}}, and Frenzied Firestorm, which does definitelly not exist in this calculation...
Yields: Expression error: Unrecognized punctuation character "{".% - Expression error: Unrecognized punctuation character "{".% damage.
questionmark
Expression error: Unexpected round operator.
3 is no questionmark
? - ?
Stratum 1: {{User:JenovaSPIRIT/ShieldDMGPercent|360|miau|71}} damage
to display
Stratum 1:
? - 80.3% damage