User Tools

Site Tools


characters:speed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
characters:speed [2014/10/10 19:16]
127.0.0.1 external edit
characters:speed [2018/03/28 22:01] (current)
karl Pimp it up a bit with headline, add explanation and code
Line 1: Line 1:
-How fast the player may move. The value of speed may range between nearly 0 (”very slow”) to higher than 5 (”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.+====== Speed ====== 
 +Speed determines how fast the player may move. \\ 
 +The value of speed may range between nearly 0 (”very slow”) to higher than <del>5</​del>​ 0.67 (”lightning fast”). \\ 
 +Base speed is determined from the [[:​characters:​DEX]] and modified downward proportionally by the amount of weight ​\\ 
 +carried which exceeds the Max Carry limit. ​\\ 
 +The [[:items:armour:]] worn also sets the upper limit on speed.
  
 ^ Dex stat points ^ Speed Bonus ^ ^ Dex stat points ^ Speed Bonus ^
Line 33: Line 38:
 | 29 | 0.23 | | 29 | 0.23 |
 | 30 | 0.24 | | 30 | 0.24 |
 +
 +==== Speed in Words ====
 +Function //​describe_monster()//​ in //​server/​common/​item.c//​ says :
 +<code c>
 +    /* 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)) {
 +</​code>​
 +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.1412986597.txt.gz · Last modified: 2018/03/28 22:01 (external edit)