Template:DropRate: Difference between revisions

From Roat Pkz
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
{{#vardefine:number|1/350}}
{{#vardefine:number|{{{1}}}}}


{{#vardefine:percentage_15|{{#expr: floor((1/350) * 0.85) }}}
{{#vardefine:percentage_15|{{#expr: floor(({{#var:number}}) * 0.85) )}}  
{{#vardefine:percentage_25|{{#expr: floor((1/350) * 0.75) }}}
{{#vardefine:percentage_25|{{#expr: floor(({{#var:number}}) * 0.75) )}}  
{{#vardefine:percentage_30|{{#expr: floor((1/350) * 0.70) }}}
{{#vardefine:percentage_30|{{#expr: floor(({{#var:number}}) * 0.70) )}}  
{{#vardefine:percentage_40|{{#expr: floor((1/350) * 0.60) }}}
{{#vardefine:percentage_40|{{#expr: floor(({{#var:number}}) * 0.60) )}}  


{{#var:number}} | {{#var:percentage_15}} | {{#var:percentage_25}} | {{#var:percentage_30}} | {{#var:percentage_40}}
{{#var:number}} | {{#var:percentage_15}} | {{#var:percentage_25}} | {{#var:percentage_30}} | {{#var:percentage_40}}

Revision as of 12:02, 5 April 2024

{{#vardefine:number|{{{1}}}}}

{{#vardefine:percentage_15|Expression error: Unrecognized punctuation character "{". {{#vardefine:percentage_25|Expression error: Unrecognized punctuation character "{". {{#vardefine:percentage_30|Expression error: Unrecognized punctuation character "{". {{#vardefine:percentage_40|Expression error: Unrecognized punctuation character "{".

{{#var:number}} | {{#var:percentage_15}} | {{#var:percentage_25}} | {{#var:percentage_30}} | {{#var:percentage_40}}