Template:MeleeHitboxScale: Difference between revisions
From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Corrected the scaling factor to 1/256) Tag: Mobile edit |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#ifexpr:{{{1|0}}} | {{#ifexpr:{{{1|0}}}*0.003906 = trunc({{{1|0}}}*0.003906)|{{#expr:{{{1|0}}}*0.003906}}.0|{{#expr:{{{1|0}}}*0.003906}}}}<noinclude> | ||
Basically, | Basically, multiplies by 0.003906 and adds a ".0" if necessary. Melee hitbox radius and position aren't saved as decimal numbers; this does the conversion. | ||
[[Category:Meta-templates]]</noinclude> | [[Category:Meta-templates]]</noinclude> |
Latest revision as of 12:29, March 28, 2020
0.0
Basically, multiplies by 0.003906 and adds a ".0" if necessary. Melee hitbox radius and position aren't saved as decimal numbers; this does the conversion.