Difference between revisions of "User:Jareel_Skaj/DPS"
Jareel_Skaj (talk | contribs) (Added option to define a custom number of guns) |
Jareel_Skaj (talk | contribs) (hopefully resolving the Expression error: Unexpected * operator.) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
<!-- Code for debugging: Guns: {{{3|{{#expr: {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|amount}} * {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|guns}} }}}}} in slot {{{group|main}}} {{{slot|1}}} RoF {{{rof|{{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|firerate}}}}} --> | <!-- Code for debugging: Guns: {{{3|{{#expr: {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|amount}} * {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|guns}} }}}}} in slot {{{group|main}}} {{{slot|1}}} RoF {{{rof|{{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|firerate}}}}} --> | ||
− | </noinclude><includeonly>{{#expr: {{{3|{{#expr: {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|amount}} * {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|guns}} }}}} | + | </noinclude><includeonly>{{#expr: |
+ | {{#if:{{{3|}}}|{{{3}}}|{{#expr: | ||
+ | {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|amount}}*{{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|guns}} | ||
+ | }}}} | ||
+ | * | ||
+ | {{#expr: | ||
+ | {{{rof| | ||
+ | {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|firerate}} | ||
+ | }}} | ||
+ | }} | ||
+ | * | ||
+ | {{#expr:{{{2}}}}} | ||
+ | round 2 | ||
+ | }}<includeonly> |