Talk:StendhalRefactoringRP: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Suppenkasper mNo edit summary |
imported>Suppenkasper mNo edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 9: | 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);'' |
|||
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. |
||