Difference between revisions of "User:Jareel_Skaj/DPS"

From War Thunder Wiki
Jump to: navigation, search
m (testing)
(hopefully resolving the 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:  
+
</noinclude><includeonly>{{#expr:
     {{#expr:
+
     {{#if:{{{3|}}}|{{{3}}}|{{#expr:
        {{{3|
+
      {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|amount}}*{{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|guns}}
            {{#expr:
+
    }}}}
                {{#expr:{{#unit:{{{1}}}|weapon|main|1|amount}}+0}}*{{#expr:{{#unit:{{{1}}}|weapon|main|1|guns}}+0}}
 
            }}
 
        }}}
 
    }}
 
 
     *
 
     *
 
     {{#expr:
 
     {{#expr:
 
         {{{rof|
 
         {{{rof|
             {{#unit:{{{1}}}|weapon|main|1|firerate}}
+
             {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|firerate}}
 
         }}}
 
         }}}
 
     }}
 
     }}
Line 26: Line 22:
 
     {{#expr:{{{2}}}}}
 
     {{#expr:{{{2}}}}}
 
     round 2
 
     round 2
}} name {{{1}}} A {{#expr:{{#unit:{{{1}}}|weapon|main|1|amount}}+0}} B {{#expr:{{#unit:{{{1}}}|weapon|main|1|guns}}+0}} C {{#expr:
+
}}<includeonly>
        {{{rof|
 
            {{#unit:{{{1}}}|weapon|main|1|firerate}}
 
        }}}
 
    }} D {{#if:{{{3|}}}|{{{3}}}|{{#expr:
 
                {{#expr:{{#unit:{{{1}}}|weapon|main|1|amount}}}}*{{#expr:{{#unit:{{{1}}}|weapon|main|1|guns}}}}
 
            }}}}<includeonly>
 

Latest revision as of 14:02, 23 February 2023

How to use: {{User:U12017485/DPS|<explosive filler>|<(optional) number of guns in all relevant turrets>}}

Yugumo: 138.6 == 138.6
Yugumo, 1 gun: 23.1

Helgoland, default guns: 652.8
Helgoland, 8 guns (broadside): 435.2
Helgoland, 1 gun: 54.4