Template:Ranged Cooldown Row

From RimWorld Wiki
Revision as of 11:55, 24 October 2022 by Harakoni (talk | contribs) (Created page with "<includeonly> |- {{#vardefine:burstTime| {{#if:{{{?Burst Ticks|}}}|+(({{{?Burst Count|}}}-1)*{{{?Burst Ticks|}}})|0}} }} {{#vardefine:baseTime| {{#expr: {{{?Aiming Time Bas...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

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 bandolierContent added by the Biotech DLC

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 Assault rifle 113%
    Autopistol Autopistol 118%
    Bolt-action rifle Bolt-action rifle 110%
    Chain shotgun Chain shotgun 110%
    Charge lance Charge lance 114%
    Charge rifle Charge rifle 113%
    EMP grenades EMP grenades 115%
    EMP launcher EMP launcher 111%
    Frag grenades Frag grenades 115%
    Greatbow Greatbow 109%
    Heavy SMG Heavy SMG 113%
    Incendiary launcher Incendiary launcher 111%
    LMG LMG 109%
    Machine pistol Machine pistol 112%
    Minigun Minigun 107%
    Molotov cocktails Molotov cocktails 115%
    Pila Pila 111%
    Pump shotgun Pump shotgun 113%
    Recurve bow Recurve bow 112%
    Revolver Revolver 120%
    Short bow Short bow 112%
    Smoke launcher Smoke launcher 111%
    Sniper rifle Sniper rifle 109%
    Hellcat rifle Hellcat rifle 112%
    Nerve spiker Nerve spiker 112%
    Tactical turret gun Tactical turret gun 124%
    Flamebow Flamebow 112%
    Grenadier armor Grenadier armor 109%