Difference between revisions of "Template:Ranged Cooldown Row"
Line 4: | Line 4: | ||
{{#vardefine:baseTime| {{#expr: {{{?Aiming Time Base}}}+{{{?Ranged Cooldown Base}}}+{{#var:burstTime}} }} }} | {{#vardefine:baseTime| {{#expr: {{{?Aiming Time Base}}}+{{{?Ranged Cooldown Base}}}+{{#var:burstTime}} }} }} | ||
! {{Icon Small|{{{?Name}}}|24}} | ! {{Icon Small|{{{?Name}}}|24}} | ||
− | ! {{ | + | ! {{DLC Icons|[[{{{?Name}}}]]}} |
| 100% <!--This seems dumb, but it makes it clear what the other col is comparing against --> | | 100% <!--This seems dumb, but it makes it clear what the other col is comparing against --> | ||
| {{#expr: ({{#var:baseTime}}/({{{?Aiming Time Base}}}+(0.8*{{{?Ranged Cooldown Base}}})+{{#var:burstTime}}))*100 round 0}}% | | {{#expr: ({{#var:baseTime}}/({{{?Aiming Time Base}}}+(0.8*{{{?Ranged Cooldown Base}}})+{{#var:burstTime}}))*100 round 0}}% |
Revision as of 12:06, 24 October 2022
As each ranged weapon has their own combination of Warm-up and Cooldown times, the effect of changes in Ranged Cooldown on total DPS can vary from weapon to weapon. This template calculates the effect on DPS for ranged weapons affected by a variety of changes in Ranged Cooldown reduction of the Heavy bandolier
These values are then displayed as a table row for use with the #Ask method. The #Ask controls what weapons are placed in the template.
Usage
The template must be used with the #Ask method and a table. It is compatible with Template:STDT tables.
<div><li style="display: inline-table;">
{| {{STDT|sortable c_06 text-center}}
|-
! colspan="2" | Weapon !! DPS<br>(100% Ranged Cooldown Time) !! DPS<br>(80% Ranged Cooldown Time)
{{#ask: [[Aiming Time Base::+]] [[Category:Weapons]] [[Class::!Mechanoid Weapons]] [[Name::!Uranium slug cannon]] [[Name::!Thump cannon]] [[Name::!Autocannon]] [[Name::!Light charge blaster]] [[Name::!Mini-turret gun]] [[Mode::!Single-Use]]
| named args=yes
| ?Name=?Name
| ?Aiming Time Base #=?Aiming Time Base
| ?Ranged Cooldown Base #=?Ranged Cooldown Base
| ?Burst Count =?Burst Count
| ?Burst Ticks =?Burst Ticks
| format=template
| template=Ranged Cooldown Row
| sort = From DLC, name
}}
|}
</li><div>
Results in:
Weapon | DPS (100% Ranged Cooldown Time) |
DPS (80% Ranged Cooldown Time) | |
---|---|---|---|
[[Assault rifle|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 113% | |
[[Autopistol|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 118% | |
[[Bolt-action rifle|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 110% | |
[[Chain shotgun|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 110% | |
[[Charge lance|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 114% | |
[[Charge rifle|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 113% | |
[[EMP grenades|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 115% | |
[[EMP launcher|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 111% | |
[[Frag grenades|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 115% | |
[[Greatbow|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 109% | |
[[Heavy SMG|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 113% | |
[[Incendiary launcher|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 111% | |
[[LMG|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 109% | |
[[Machine pistol|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 112% | |
[[Minigun|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 107% | |
[[Molotov cocktails|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 115% | |
[[Pila|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 111% | |
[[Pump shotgun|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 113% | |
[[Recurve bow|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 112% | |
[[Revolver|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 120% | |
[[Short bow|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 112% | |
[[Smoke launcher|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 111% | |
[[Sniper rifle|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 109% | |
[[Hellcat rifle|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 112% | |
[[Nerve spiker|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 112% | |
[[Tactical turret gun|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 124% | |
[[Flamebow|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 112% | |
[[Grenadier armor|<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>]] | 100% | 109% |
The above documentation is transcluded from Template:Ranged Cooldown Row/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |