Forums-->Queries and help-->
Author | Formula |
if farmers have
attack - 5
defense- 2
damage - 1 - 1
and gremlins have
attack - 2
defense - 2
and if 10 farmers attack 5 gremlins how many damage it will do.
Can you explain with this formula
>>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)] | * | 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.
A - Attack
D - Defense
Plug in all the numbers, then you get your damage. | >If "Attack" (A) of the attacking stack is bigger than "Defence" (D) of the defending stack, then
Damage = 10 * RND(1 to 1)* [1+0.05(5-2)]*[1-3*(Defending faction skill in attacking faction)/100)]
= 10*1*1.15*[1-3*(Defending faction skill in attacking faction)/100)]
= 11.5*[1-3*(Defending faction skill in attacking faction)/100)]
If the 5 gremlins shoot 10 farmers with above stats
Damage = 5*RND(1 to 2)*[1-3*(Defending faction skill in attacking faction)/100)] / [1+0.05*(2-2)
= 5*(1 to 2)*[1-3*(Defending faction skill in attacking faction)/100)] / 1
= 5*[1-3*(Defending faction skill in attacking faction)/100)] to 10*[1-3*(Defending faction skill in attacking faction)/100)]
= 5-15*(Defending faction skill in attacking faction)/100)] to 10-30*(Defending faction skill in attacking faction)/100)]
ok? | woah, takesis! nice! | Ok thanks | closed by onlyforhunt (2009-05-30 12:42:58) |
---|
Back to topics list
|