Difference between revisions of "User:U12017485/DPS"
(Added option to define a custom number of guns) |
(Formatting changed, packed everything into {{#expr: to hopefully avoid Expression error: Unexpected * operator.) |
||
| 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}} }}}}} * {{{rof|{{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|firerate}}}}} * {{{2}}} | + | </noinclude><includeonly>{{#expr: |
| + | {{#expr: | ||
| + | {{{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> | ||
Revision as of 13:24, 23 February 2023
How to use: {{User:U12017485/DPS|<explosive filler>|<(optional) number of guns in all relevant turrets>}}
Yugumo: Expression error: Unexpected < operator. == Expression error: Unexpected * operator.
Yugumo, 1 gun: Expression error: Unexpected * operator.
Helgoland, default guns: Expression error: Unexpected < operator.
Helgoland, 8 guns (broadside): Expression error: Unexpected * operator.
Helgoland, 1 gun: Expression error: Unexpected * operator.

