Use time is a statistic that applies to weapons, tools and other usable items. It determines the time that must pass, after use, before the same item or another item can be used again. In basic terms, this is the "rate of fire", as measured in game ticks. A lower use time means a faster weapon. The shortswords, for example, usually have a use time between 10 and 13, meaning that they can be used in quick succession, as compared to the exceptionally slow Fiery Greatsword, which has a use time of 30 – a much slower weapon which cannot be used as often.
Use time is particularly useful in comparing the speed of tools and weapons. The in-game tooltips for these items automatically group these values into categories like "Very Fast" or "Very Slow". They are grouped as following:
Modified use times
A modifier which applies "+10% speed" actually means "-10% use time". The modified value is rounded and produces the new use time. Due to rounding, the actual bonuses come in diverse percentages. The table below compares the rapidly firing Megashark and the much slower Musket.
|Weapon||Modifier||Bonus||Modified use time||Actual bonus|
Base use time: 7
|Unreal||+10% speed||6||+14% speed (+4%)|
|Rapid||+15% speed||6||+14% speed (-1%)|
Base use time: 36
|Nimble||+5% speed||34||+6% speed (+1%)|
|Unreal||+10% speed||32||+11% speed (+1%)|
|Rapid||+15% speed||31||+14% speed (-1%)|
Note: Total attack speed is only used when the weapon's damage type is melee, as that is what it affects.
- The "fire rate" is calculated by dividing the frames per second (60) by the item's use time:
- For instance, a Megashark has a use time of 7. Its rate of fire can be calculated by inserting this in the formula above:
- Multiplying this with 60 reveals the rate of fire per minute, which is about 514.3 rounds per minute for the Megashark.
- There are exceptions for certain items, such as recovery potions like Mushrooms and Lesser Healing Potions, which have a special cooldown period, or flails and boomerangs that must return before being fired again.
- Some weapons, such as some projectile melee weapons, have secondary attacks. These usually have their own use time which differs from their standard use time. Speed and attack/melee speed modifiers still affect these secondary attacks. However, if such a weapon does not have autofire and if the secondary attack's use time is different from the standard use time, then, after the use time on the second attack is over, it cannot fire again until the primary attack finishes.
- Some weapons, such as the Clockwork Assault Rifle, have an independent attribute called use delay. This is not affected by speed modifiers or attack speed/melee speed modifiers and acts as a base increase to use time.
- An item's use time is represented by its
useAnimationproperty in the game's source code.
- Swords that are capable of autoswing are a special case. When such a sword reaches the last frame of its swinging animation, it skips back to the first one, therefore skipping one frame. This means that its actual use time is one value lower than the one stated in the source code, in the sword's tooltip, and here on the wiki.
- A tick is a time unit countable by the software. Most of Terraria's updating logic happens every tick. A tick has the length of 1/60th of a second, hence there are 60 ticks in a second and 3600 ticks in a minute.