User Tools

Site Tools


characters:speed

Speed

Speed determines how fast the player may move.
The value of speed may range between nearly 0 (”very slow”) to higher than 5 0.67 (”lightning fast”).
Base speed is determined from the DEX and modified downward proportionally by the amount of weight
carried which exceeds the Max Carry limit.
The armour worn also sets the upper limit on speed.

Dex stat points Speed Bonus
0 -0.1
1 -0.1
2 -0.09
3 -0.08
4 -0.07
5 -0.06
6 -0.05
7 -0.025
8 0.00
9 0.00
10 0.00
11 0.00
12 0.025
13 0.05
14 0.07
15 0.09
16 0.10
17 0.11
18 0.12
19 0.13
20 0.14
21 0.15
22 0.16
23 0.17
24 0.18
25 0.19
26 0.20
27 0.21
28 0.22
29 0.23
30 0.24

Speed in Words

Function describe_monster() in server/common/item.c says :

    /* Note that the resolution this provides for players really isn't
     * very good.  Any player with a speed greater than .67 will
     * fall into the 'lightning fast movement' category. */
    if (FABS(op->speed) > MIN_ACTIVE_SPEED) {
        switch ((int)((FABS(op->speed))*15)) {

Meaning that the speed value is multiplied with 15 and the first integer is case'd :

  • 0 : very slow movement
  • 1 : slow movement
  • 2 : normal movement
  • 3 - 4 : fast movement
  • 5 - 6 : very fast movement
  • 7 - 10 : extremely fast movement
  • > 10 : lightning fast movement
characters/speed.txt · Last modified: 2018/03/28 22:01 by karl