[Crossfire-wiki] [Crossfire DokuWiki] page added: characters:weapon_speed
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Mon Nov 4 06:38:50 CST 2013
A page in your DokuWiki was added or changed. Here are the details:
Date : 2013/11/04 06:38
User : saru
Edit Summary: need a little help with the weapon speed calculation
====== 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 [[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
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;
==== Dex Bonus ====
^ 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 |
IP-Address : 59.167.121.117
Old Revision: none
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