Talk:StendhalRefactoringRP: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Suppenkasper Created page with 'Does source[ARMOR] refer to the characters DEF value? If so is the the DEF value displayed on the left in the client which looks like 10x'''7''' when you have only the Leather A…' |
imported>Suppenkasper mNo edit summary |
||
| (27 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
=== Melee Combat === |
|||
Does source[ARMOR] refer to the characters DEF value? |
Does source[ARMOR] refer to the characters DEF value? |
||
| Line 7: | Line 9: | ||
According to the formula max_defence gets subtracted from max_attack and also divides (8 * max_attack * random[0..1] - max_defense * random[0..1]). So it decreases the damage. |
According to the formula max_defence gets subtracted from max_attack and also divides (8 * max_attack * random[0..1] - max_defense * random[0..1]). So it decreases the damage. |
||
damage = (8 * max_attack * random[0..1] - max_defence * random[0..1]) / max_defence); |
''damage = (8 * max_attack * random[0..1] - max_defence * random[0..1]) / max_defence);'' |
||
If I interpreted this correctly the source[Armor] changes the max_defence value of the attacked target. This makes me wonder why, because I don't see any connection between the defensive equipment the character wears and the max_defence value of the target. The better the character's equipment (Armor, Helmet, Legs, Boots, Shield, Cloak) is the higher is the target's defence? I believe it should be target[ARMOR] instead but as mentioned in the article there doesn't seem to be a target[ARMOR] value for creatures. |
If I interpreted this correctly the source[Armor] changes the max_defence value of the attacked target. This makes me wonder why, because I don't see any connection between the defensive equipment the character wears and the max_defence value of the target. The better the character's equipment (Armor, Helmet, Legs, Boots, Shield, Cloak) is the higher is the target's defence? I believe it should be target[ARMOR] instead but as mentioned in the article there doesn't seem to be a target[ARMOR] value for creatures. |
||
| Line 16: | Line 18: | ||
Btw, the last closing bracket in the damage formula should |
Btw, the last closing bracket in the damage formula should be removed since there is no opening bracket to it. |
||