Template:DPS
Jump to navigation
Jump to search
0
This template calculates DPS values for Dawn of War II weapons according to given parameters. It uses formulas described by dow2.info.
Parameters
- damage: Base damage
- wind_up: Weapon wind-up time
- wind_down: Weapon wind-down time
- cooldown: Weapon cooldown time
- burst: Burst duration
- reload_freq: Reload frequency
- reload_dur: Reload duration
- armor: Armor damage modifier (depends on damage type)
- size: Size accuracy modifier (depends on weapon family)
Melee weapons
DPS = (damage ÷ [wind_up + wind_down + cooldown] ) × armor × size
Single-shot ranged weapons
DPS = (reload_freq × damage) ÷ (reload_freq × [wind_up + wind_down + cooldown] + reload_dur) × armor × size
Burst ranged weapons
- Note: if reload_freq is 0, it is converted to 1 to prevent division by zero.
DPS = (reload_freq × burst × damage) ÷ ( [reload_freq × {wind_up + wind_down + burst + cooldown} ] + reload_dur) × armor × size