Forums-->Queries and help-->
Author | Rules of damage and healing |
How this calculation works
>>If "Attack" (A) of the attacking stack is bigger than "Defence" (D) of the defending stack, then
Damage = N * RND(min, max) * [1 + 0,05 (A-D) ] * [1 - 3*Y/100]
>>If (A) is smaller than (D), then
Damage = N * RND(min, max) * [1 - 3*Y/100] / [1 + 0,05*(D-A)] | >>If "Attack" (A) of the attacking stack is bigger than "Defence" (D) of the defending stack, then
Damage = N * RND(min, max) * [1 + 0,05 (A-D) ] * [1 - 3*Y/100]
>>If (A) is smaller than (D), then
Damage = N * RND(min, max) * [1 - 3*Y/100] / [1 + 0,05*(D-A)]
Whence:
# N - number of creatures in the attacking stack;
# RND(min, max) - random integer from the "Damage" parameter delta;
# Y - The level that the character in command of the defending stack has reached in faction skill of the attacking character's faction.
example if a gremlin fight with farmer then
1 * 1) - (2 * 1) + (0.05 * 1) - ((3 * 0) / 100) = -0.95
I just "Blind-shoot" this btw |
This topic is long since last update and considered obsolete for further discussions. Back to topics list
|