[Search] Search   [Recent Topics] Recent   [Hottest Topics] Hottest   [Login] Login
Messages posted by: ratkitten
Forum Index Profile for ratkitten »» Messages posted by ratkitten
Guides & Tips » Attack formula » Go to message
waxoid, that's pretty much how I think of it too. Something to add to the "shorthand" version is that damage is directly proportional to the HP of the one doing the damage. For example if a unit has 5 HP, it will do half the damage it would have done if it had 10 HP. Here's how I like to think about it:

Default damage is 5 (when the attacker has 10 HP and the attack-defense is zero).
When attack-defense is not zero, add (or subtract) 0.5 damage for every point that it is over or under.
If the attacker doesn't have 10 HP, multiply the damage by the attacker's HP and divide by 10.


When waxoid mentioned the "rounddown", he was referring to the fact that damage always rounds down to the nearest whole number. So if you end up rolling 6.9, you will do 6 damage, not 7. There is some randomness, but the damage will rarely vary by more than +/- 1 of the expected value. (Interestingly, damage is more random the fewer HP the attacker has, because the number of rolls varies with HP. There are 60 rolls if the attacker has 10 HP, but only 6 rolls if the attacker only has 1 HP. But that's not very important.)

Also, remember that defenders are "attackers" if they are in range. Meaning, if the defender does damage, it does the same damage it would have done if it had attacked; attack/defense bonuses apply to both attackers and defenders.
Forum Index Profile for ratkitten »» Messages posted by ratkitten
Powered by JForum 2.1.9 © - 2020-04-14 v124 - UniWar website