[Crossfire-wiki] [Crossfire DokuWiki] page changed: characters:weapon_speed
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sat Sep 6 22:23:57 CDT 2014
A page in your DokuWiki was added or changed. Here are the details:
Date : 2014/09/06 22:23
User : saru
Edit Summary: Added example and clarified variables.
@@ -2,22 +2,18 @@
A character's weapon speed is used to calculate the rate of attacks a player makes. It is based on the [[characters:dex]] bonus and the total character load based on [[characters:Carrying_load]] and total load being carried. The minimum weapon speed for a character is 0.05.
===== Combat general description =====
- Weapon Speed = (Base Weapon Speed + Dex Bonus)-weapon_speed/20.0+added_speed/10.0 - character_load x 0.2
+ 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)
- character_load=1.0 means character is fully loaded, 0.0 is unloaded.
-
- Based on this code in living.c line 1092.
-
- op->weapon_speed = BASE_WEAPON_SPEED+get_speed_bonus(op->stats.Dex)-weapon_speed/20.0+added_speed/10.0;
- if (wc_obj) {
- op->weapon_speed += 0.005*wc_obj->level;
- } else
- op->weapon_speed += 0.005*op->level;
+ 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 + 3) - (8 / 20.0) + (0 / 10.0) - ((0.5 x 0.2)) x 8 (server tick rate)
+ Characters Attack Speed (attacks per second) = (4 - 0.4 + 0 - .1) x 8.5 (server tick rate)
+ Characters Attack Speed (attacks per second) = 29.75
==== Dex Bonus ====
+ The improvement given by a players [[characters:Dex]] to their attack speed (Dex bonus) is:
^ Dex stat points ^ Dex Bonus ^
| 1 | -3 |
| 2 | -2 |
| 3 | -2 |
@@ -46,5 +42,5 @@
| 26 | 5 |
| 27 | 5 |
| 28 | 6 |
| 29 | 6 |
- | 30 | 7 |
+ | 30 | 7 |
IP-Address : 59.167.121.117
Old Revision: http://wiki.metalforge.net/doku.php/characters:weapon_speed?rev=1383568727
New Revision: http://wiki.metalforge.net/doku.php/characters:weapon_speed
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list