Forums-->Queries and help-->
Author | attack,damage,defence |
what is the significance of attack,damage and defence while how many damge one attacker will deal depends on the range of damage...... | Calculation of a physical damage of a creature.
>>If the "Attack" (A) of the attacking stack is bigger than the "Defence" (D) of the defending stack, then
damage = Size_of_the_stack * random(min_damage, max_damage) * [1 + 0,05 (A-D) ] * [1 - Skill_of_the_defending*3\100]
>>In the opposite wa, if the "Attack" of the attacking stacj is less than then the "Defence" (D) of the defending stack, then
damage = Size_of_the_stack * random(min_damage, max_damage) * [1 - Skill_of_the_defending*3\100]\[1 + 0,05*(D-A)].
Where:
>> Size_of_the_stack - quantity of creatures in the attacking stack
>> random(man_damage, max_damage) - random number from a range defined in parameter "Damage" of the creature
>>Skill_of_the_defending - Skill of the hero of a defending group of that fraction to which the attacking group concerns
(copied from Kush's Profile) |
This topic is long since last update and considered obsolete for further discussions. Back to topics list
|