User Tools

Site Tools


characters:weapon_speed

Character's Weapon Speed

A character's weapon speed is used to calculate the rate of attacks a player makes. It is based on the dex bonus and the total character load based on Carrying_load and total load being carried. The minimum weapon speed for a character is 0.05.

Combat general description

 Characters Attack Speed (attacks per second) = ((1 + Dex Bonus) - (Weapon Speed / 20.0) + (Speed Bonus / 10.0) - ((Player's Current Carried Load/Player's Maximum Carry Capacity) x 0.2)) x 8.5 (server tick rate)

For example a weapon with weapon speed 8 and damage 8, on a character with 20 Dex and carrying %50 of capacity load with no +speed =

 Characters Attack Speed (attacks per second) = ((1 + 1.5) - (8 / 20.0) + (0 / 10.0) - ((0.5 x 0.2)) x 8 (server tick rate)
 Characters Attack Speed (attacks per second) = (2.5 - 0.4 + 0 - .1) x 8.5 (server tick rate)
 Characters Attack Speed (attacks per second) = 16.66

Dex Bonus

The improvement given by a players Dex to their attack speed (Dex bonus) is:

Dex stat points Dex Bonus
1 -3
2 -2
3 -2
4 -1
5 -1
6 -1
7 0
8 0
9 0
10 0
11 0
12 0
13 0
14 1
15 1
16 1
17 2
18 2
19 2
20 3
21 3
22 3
23 4
24 4
25 4
26 5
27 5
28 6
29 6
30 7

From old handbook

The calculation for weapon speed is quite complex (but here it is!). The value for the weapon speed is:

speed/(LF * NastyFactor * LessNastyFactor)

where LF (“level factor”) is a number between 0.8 and 1.2 that increases with the level as (4+level)/(6+level)*1.2, (the level is taken from the overall level), and both NastyFactor and LessNastyFactor are calculated below.

The value of NastyFactor is:

2/3 + MaxC/363 - ((0.00167*WpnW)/MaxC) + (speed/5) + ((Dex-14)/28)

where MaxC is the maximum carrying limit of the character, WpnW is the weapon weight. Weapon weight can be determined from examining the given weapon (i.e. look at the number to the right side of the weapon icon in the inventory window).

The value of LessNastyFactor is:

2 - ((WpnF - magic/2)/10)

where WpnF is the “weapon factor” and magic is the value of the enchantment on the weapon (i.e. +1, +2, etc.). Weapon factor is given for some weapons in the table below:

Weapon Factor Weapon 1.6 nunchacu 1.5 dagger 1.4 Sting, katana, shortsword, taifu 1.3 Belzebub's sword, Darkblade, Excalibur 1.2 Firebrand, Frostbrand, Mjoellnir, Mournblade, Stormbringer, broadsword, falchion, light sword, long sword, quarterstaff, sabre, sword, trident 1.1 Deathbringer, Demonbane, Dragonslayer, Holy Avenger club, hammer, mace, unicorn horn 1.0 axe, stonehammer 0.9 Skullcleaver, morningstar, stake, stoneaxe 0.8 large morningstar 0.5 Bonecrusher, Gram, shovel 0.3 large club 0.1 - 0.4 chair 0.1 bed

characters/weapon_speed.txt · Last modified: 2014/10/02 23:23 (external edit)