Difference between revisions of "Template:Aiming Time Row"
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
{{#vardefine:burstTime| {{#if:{{{?Burst Ticks|}}}|+(({{{?Burst Count|}}}-1)*{{{?Burst Ticks|}}})|0}} }} | {{#vardefine:burstTime| {{#if:{{{?Burst Ticks|}}}|+(({{{?Burst Count|}}}-1)*{{{?Burst Ticks|}}})|0}} }} | ||
{{#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}} |
− | ! | + | ! {{DLC Icons|{{{?Name}}}}} |
| 100% | | 100% | ||
| {{#expr: ({{#var:baseTime}}/((1.25*{{{?Aiming Time Base}}})+{{{?Ranged Cooldown Base}}}+{{#var:burstTime}}))*100 round 0}}% | | {{#expr: ({{#var:baseTime}}/((1.25*{{{?Aiming Time Base}}})+{{{?Ranged Cooldown Base}}}+{{#var:burstTime}}))*100 round 0}}% | ||
Line 25: | Line 11: | ||
| {{#expr: ({{#var:baseTime}}/((0.10*{{{?Aiming Time Base}}})+{{{?Ranged Cooldown Base}}}+{{#var:burstTime}}))*100 round 0}}% | | {{#expr: ({{#var:baseTime}}/((0.10*{{{?Aiming Time Base}}})+{{{?Ranged Cooldown Base}}}+{{#var:burstTime}}))*100 round 0}}% | ||
| {{#expr: ({{#var:baseTime}}/((0.01*{{{?Aiming Time Base}}})+{{{?Ranged Cooldown Base}}}+{{#var:burstTime}}))*100 round 0}}% | | {{#expr: ({{#var:baseTime}}/((0.01*{{{?Aiming Time Base}}})+{{{?Ranged Cooldown Base}}}+{{#var:burstTime}}))*100 round 0}}% | ||
− | </includeonly> | + | </includeonly><noinclude> |
+ | {{Documentation}} | ||
+ | </noinclude> |
Latest revision as of 13:45, 24 October 2022
As each ranged weapon has their own combination of Warm-up and Cooldown times, the effect of changes in Aiming Time 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 Aiming Time corresponding to:
- Base (100%)
- Careful shooter trait (125%)
- Shooting specialist's Marksman Command (60%)
- Trigger-happy trait XOR Shooting specialist role (50%)
- Trigger-happy trait AND Shooting specialist's Marksman Command (10%)
- Trigger-happy trait AND Shooting specialist role (1%)
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.
Note: This value does not account for the accuracy effects of any the abilities that change aiming time, and it displays as DPS % so as to not require consideration of quality.
Usage[edit]
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% Aiming Time) !! DPS<br>(125% Aiming Time) !! DPS<br>(60% Aiming Time) !! DPS<br>(50% Aiming Time) !! DPS<br>(10% Aiming Time) !! DPS<br>(1% Aiming 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=Aiming Time Row
| sort = From DLC, name
}}
|}
</li><div>
Results in:
Weapon | DPS (100% Aiming Time) |
DPS (125% Aiming Time) |
DPS (60% Aiming Time) |
DPS (50% Aiming Time) |
DPS (10% Aiming Time) |
DPS (1% Aiming Time) | |
---|---|---|---|---|---|---|---|
Assault rifle | 100% | 92% | 115% | 120% | 142% | 148% | |
Autopistol | 100% | 95% | 110% | 113% | 126% | 130% | |
Bolt-action rifle | 100% | 88% | 127% | 136% | 192% | 211% | |
Chain shotgun | 100% | 91% | 120% | 126% | 160% | 170% | |
Charge lance | 100% | 91% | 118% | 124% | 153% | 162% | |
Charge rifle | 100% | 93% | 113% | 117% | 136% | 141% | |
EMP grenades | 100% | 92% | 117% | 122% | 148% | 155% | |
EMP launcher | 100% | 89% | 125% | 133% | 182% | 198% | |
Frag grenades | 100% | 92% | 117% | 122% | 148% | 155% | |
Greatbow | 100% | 88% | 130% | 140% | 206% | 230% | |
Heavy SMG | 100% | 93% | 114% | 118% | 138% | 144% | |
Incendiary launcher | 100% | 89% | 125% | 133% | 182% | 198% | |
LMG | 100% | 90% | 121% | 127% | 163% | 174% | |
Machine pistol | 100% | 93% | 114% | 118% | 138% | 143% | |
Minigun | 100% | 92% | 117% | 123% | 149% | 157% | |
Molotov cocktails | 100% | 92% | 117% | 122% | 148% | 155% | |
Pila | 100% | 89% | 125% | 133% | 182% | 198% | |
Pump shotgun | 100% | 91% | 120% | 126% | 160% | 171% | |
Recurve bow | 100% | 90% | 123% | 131% | 173% | 186% | |
Revolver | 100% | 96% | 107% | 109% | 117% | 119% | |
Short bow | 100% | 90% | 122% | 129% | 168% | 180% | |
Smoke launcher | 100% | 89% | 125% | 133% | 182% | 198% | |
Sniper rifle | 100% | 87% | 132% | 143% | 219% | 248% | |
Hellcat rifle | 100% | 92% | 116% | 121% | 146% | 153% | |
Nerve spiker | 100% | 90% | 123% | 131% | 173% | 186% | |
Tactical turret gun | 100% | 100% | 100% | 100% | 100% | 100% | |
Flamebow | 100% | 90% | 122% | 129% | 168% | 180% | |
Grenadier armor | 100% | 87% | 132% | 143% | 217% | 246% |
The above documentation is transcluded from Template:Aiming Time 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. |