# Velocity

**Velocity** is a hidden statistic that determines the travel speed of a projectile fired from a weapon. It is not to be confused with use time, which is the delay between subsequent uses of an item (i.e. fast, average, slow). The higher the weapon's velocity, the faster the projectile travels, and the less the player will need to "lead" shots ahead of a moving target. This is an advantage that may prove very useful when fighting fast-moving enemies or when attacking from a long distance.

## extraUpdates[edit | edit source]

Extra updates is a statistic that applies exclusively to projectiles, for most projectiles and weapons, it's `0`

. It determines how many times the projectile moves by its effective velocity in every given frame, an extra update of 1 effectively doubling the projectile's effective velocity.

As a general rule, extra updates are applied last in the formula determining the projectile's velocity, after the sum of projectile and weapon velocity. The formula is:

effective velocity = (weapon velocity + projectile velocity) * (projectile extraUpdates + 1)

For example, a Chlorophyte Shotbow with a velocity of 11.5, shooting Wooden Arrows with a velocity of 3, results in arrows traveling at a velocity of 14.5 (`(11.5 + 3) * (0 + 1)`

). A Chlorophyte Shotbow shooting Jester's Arrows with a velocity of 0.5 will instead have a total of 12, until the arrow's extra updates are calculated into the formula (1 in this case) doubling the effective velocity to 24 (`(11.5 + 0.5) * (1 + 1)`

).

The Magic Quiver sets arrow projectiles with a `extraUpdates`

value of `0`

to `1`

, which essentially doubles their speed, but doesn't affect arrows like the venom one.

An exception is made for beam weapons such as the Shadowbeam Staff however, in which the extra updates determine the length of the beam instead. The length in this case is calculated by multiplying the projectile's velocity by the number of extra updates plus 1.

## Tips[edit | edit source]

- Weapons that use arrows generally have lower velocities than bullet firing weapons.
- Certain ranged Modifiers can affect a weapon's velocity.
- Some weapons (often magic weapons) don't have a consistent velocity.
- The Demon Scythe fires a projectile that gradually increases in velocity.
- The Death Sickle's projectile is the opposite of the Demon Scythe - firing a projectile with exponentially decreasing velocity until it stops in place before disappearing.
- The Magical Harp's note projectiles increase in velocity depending on the distance between the player and the cursor, though its maximum velocity is still very low.
- The Cursed Flames' projectiles increase in velocity every time they bounce.

- Magic weapons that fire projectiles
**cannot**have their velocity modified. - Melee speed bonuses increase the velocity of melee weapons that fire projectiles, such as Boomerangs.
- Velocity modifiers on a Flamethrower will increase its range.

Most projectiles significantly decrease in velocity when entering liquids such as water. Some projectiles, especially flame-related ones, are immediately destroyed upon entering a body of water. Many projectiles only last a certain amount of time, meaning that liquids reduce a weapon's effective range, and projectiles affected by gravity will follow a heavier arc.