FPowerAttackDelay

Revision as of 18:47, 10 July 2007 by imported>ABO (Add weapon and hand-to-hand attack speed formulas.)
Description

This is believed to be the amount of time the attack button must be held down before a power attack will be executed, and also affects how long a power attack takes.

Default value

0.3000

The following formulas have been reverse-engineered and appear to be correct, but may have errors. The weapon speed is the only factor that impacts on how fast you can do normal attacks. fPowerAttackDelay and weapon speed affects how fast you can to power attacks. WeaponSpeed is a Weapon attribute.

The time taken for a weapon normal attack is:

 weapon attack time = 1/(2*WeaponSpeed)

The time taken for a weapon power attack is:

 weapon power attack time = fPowerAttackDelay + 3/(2*WeaponSpeed)

The time taken for a hand-to-hand normal attack is 0.5 seconds, which is the same as for WeaponSpeed=1.0. However, a hand-to-hand power attack is faster than for an equivalent speed weapon. The time taken for a hand-to-hand power attack is;

 hand-to-hand power attack time = fPowerAttackDelay + 1.0