About the game
News
Sign in
Register
Top Players
Forum
9:41
3840
 online
Authorization required
You are not logged in
   Forums-->Queries and help-->

Rules of damage



AuthorRules of damage
>>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.

----------

how about if (A) is the same as (D)? which condition will be executed? first or second?
wont make any difference... just do the maths you will see. check out both formulae...
Well: Just try it. If you insert the same numbers as D and A to any of those two formulas you will just be doing x1 or /1 to the basic damage. No biggie. :-)
oh!! now i get it!
A>D -> Damage = N * RND(min, max) * [1 - 3*Y/100] * [1 + 0,05*(A-D)]
D>A -> Damage = N * RND(min, max) * [1 - 3*Y/100] / [1 + 0,05*(D-A)]
A=D -> Damage = N * RND(min, max) * [1 - 3*Y/100] ? [1 + 0,05*(0)]

arranging the formula like this looks better for me :)

thx all!
closed by Xcalnarok (2010-11-16 17:52:39)
Back to topics list
2008-2024, online games LordsWM