[Crossfire-wiki] [Crossfire DokuWiki] page changed: skills:melee
no-reply_wiki at metalforge.org
no-reply_wiki at metalforge.org
Sun Sep 7 08:20:24 CDT 2014
A page in your DokuWiki was added or changed. Here are the details:
Date : 2014/09/07 08:20
User : saru
Edit Summary: Added formula
@@ -3,41 +3,58 @@
A player must be in melee range (adjacent tile) to use these skills.
DPS (Damage per second) = Melee Damage * Character's Attack Speed * Chance to hit (WC/AC)
+
===== Character's Melee Damage =====
- FIXME For each attacktype used:
-
- Melee Damage = Weapon Damage + Item bonus to damage + ?? Characters Damage (Str bonus)??
- line 1046
- op->stats.dam += (wc_obj->level-1)/4;
-
-
- op->stats.dam += get_dam_bonus(op->stats.Str);
-
- if (op->stats.dam < 1)
- op->stats.dam = 1;
-
- op->stats.dam += get_dam_bonus(op->stats.Str);
-
- op->stats.dam = op->arch->clone.stats.dam;
+ The formula for calculating a character's damage is:
- line 1417
- op->stats.dam += tmp->stats.dam*(1+(op->chosen_skill->level/9));
+ Melee Damage = (Character level - 1)/4 + Str damage bonus + (1 + combat skill level/9) + damage from each item
- adds 1 + the melee skill level in question (one handed or two handed)/9
+ if((Player level - 1 /4) + Str damage bonus)<1, then = 1 (for very low level characters with very little Str)
- damage added from each item
- from cloak
- op->stats.dam += (tmp->stats.dam+tmp->magic);
+ For example, a level 20 characters with level 10 one hand weapon skill and 20 Str using a steel long sword (dam 8) =
+ Character's melee damage = (20 - 1)/4 + 3 + (1 + 10/9) + 8
+ Character's melee damage = 4/4 + 3 + (1 + 1) + 8
+ Character's melee damage = 14
- from weapon
- op->stats.dam += (tmp->stats.dam+tmp->magic);
+ ==== Str Damage Bonus ====
+ ^ Str stat points ^ Str Damage Bonus ^
+ | 1 | -2 |
+ | 2 | -2 |
+ | 3 | -1 |
+ | 4 | -1 |
+ | 5 | -1 |
+ | 6 | 0 |
+ | 7 | 0 |
+ | 8 | 0 |
+ | 9 | 0 |
+ | 10 | 0 |
+ | 11 | 0 |
+ | 12 | 1 |
+ | 13 | 1 |
+ | 14 | 1 |
+ | 15 | 2 |
+ | 16 | 2 |
+ | 17 | 2 |
+ | 18 | 3 |
+ | 19 | 3 |
+ | 20 | 3 |
+ | 21 | 4 |
+ | 22 | 4 |
+ | 23 | 5 |
+ | 24 | 5 |
+ | 25 | 6 |
+ | 26 | 6 |
+ | 27 | 7 |
+ | 28 | 8 |
+ | 29 | 10 |
+ | 30 | 15 |
- from bracers
- op->stats.dam += (tmp->stats.dam+tmp->magic);
+ No idea what the clone is?
+ Line 1211, living.c op->stats.dam = op->arch->clone.stats.dam;
===== Character's Attack Speed =====
A character's attack speed in combat 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.
IP-Address : 59.167.121.117
Old Revision: http://wiki.metalforge.net/doku.php/skills:melee?rev=1410092111
New Revision: http://wiki.metalforge.net/doku.php/skills:melee
--
This mail was generated by DokuWiki at
http://wiki.metalforge.net/
More information about the crossfire-wiki
mailing list