Template:Ranged Maximum DPS/doc
Jump to navigation
Jump to search
Calculates maximum DPS and average DPS at various ranges for a ranged weapon. This template doesn't return any value, but assigns some variables
Parameters[edit]
nameis the name of the ranged weapon.armor(optional) is the armor value of the target.accuracyFactor(optional) is the accuracy factor of the ranged weapon determined by quality.damageFactor(optional) is the damage and AP factor of the ranged weapon determined by quality.bandolier(optional) can be specified to simulate heavy bandolier usage. Can be empty or 1.triggerhappy(optional) can be specified to simulate trigger happy trait. Can be empty or 1.
Assigned variables[edit]
dpsis assigned to maximum DPS, which assumes all shots hit.dpsTouchis assigned to the average DPS at Touch range, which assumes a perfect shooter.dpsShortis assigned to the average DPS at Short range, which assumes a perfect shooter.dpsMediumis assigned to the average DPS at Medium range, which assumes a perfect shooter.dpsLongis assigned to the average DPS at Long range, which assumes a perfect shooter.