Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
speed comment
- To: crossfire (at) ifi.uio.no
- Subject: speed comment
- From: Tony Elmroth <>
- Date: Sat, 16 Jan 93 19:56:35 +0100
Hi
The weaponspeed and speed does not matter in attack.
Define
sp as the shown speed
ws as the shown weapon speed
lo as speed_left loss/per round during fight
ti as average speed_left gain time interval
ag as average speed_left gain/round
lo = -1 + (sp/ws + 1) = sp/ws (see main.c 929, 1100, 1139, xio.c 607)
ti = sp / lo (approx.)
ag = sp / ti
thus ag == lo
Not surprising, gain of speed_left is equal to loss of speed_left
in the average.
The problem is that the number of attack you are allowed
is not influenced by the weapon speed (if weapon speed > 1)
or speed but is approximately one per round (limit by event speed?,
key board speed?).
Test:
1000 hp earthwall attacked with patched longsword
player speed weaponspeed killed in
1.30 1.56 35.8 sec.
1.30 2.34 38.4 sec
3.00 4.04 35.3 sec
3.00 0.99 37.9 sec
3.00 0.45 57.3 sec
1.30 0.52 55.5 sec
Tony