Calculates the time between a unit's attacks based on its attack time and attack speed.
1 / attack_rate