Template:DropChance: Difference between revisions
From Ephinea PSO Wiki
mNo edit summary |
m (updated!!) |
||
Line 1: | Line 1: | ||
{{# | {{#ifeq: {{DropCalc|{{{1|0}}}|{{{2|0}}}}} | - | - | {{#ifexpr: {{DropCalc|{{{1}}}|{{{2}}}}} < 10 | 1/{{#expr: {{DropCalc|{{{1}}}|{{{2}}}}} round 2}} | {{#ifexpr: {{DropCalc|{{{1}}}|{{{2}}}}} < 100 | 1/{{#expr: {{DropCalc|{{{1}}}|{{{2}}}}} round 1}} | 1/{{#expr: {{DropCalc|{{{1}}}|{{{2}}}}} round 0}}}}}}}} | ||
<noinclude>==Usage and example== | <noinclude>==Usage and example== | ||
<pre>{{DropChance|0}}</pre> | <pre>{{DropChance|0|0}}</pre> | ||
{{DropChance|0}} | {{DropChance|0|0}} | ||
<pre>{{DropChance| | <pre>{{DropChance|80|56.25}}</pre> | ||
{{DropChance| | {{DropChance|80|56.25}} | ||
<pre>{{DropChance| | <pre>{{DropChance|15|56.25}}</pre> | ||
{{DropChance| | {{DropChance|15|56.25}} | ||
<pre>{{DropChance| | <pre>{{DropChance|28|0.04272}}</pre> | ||
{{DropChance| | {{DropChance|28|0.04272}} | ||
</noinclude> | </noinclude> |
Revision as of 06:52, 17 October 2022
-
Usage and example
{{DropChance|0|0}}
-
{{DropChance|80|56.25}}
1/0.02
{{DropChance|15|56.25}}
1/0.12
{{DropChance|28|0.04272}}
1/83.6