Combat mechanics refers to the way that combat is resolved when a unit attempts to hit another unit. A hit is resolved by determining:
- Whether the hit is successful
- How much damage is done
- Whether the hit has secondary effects
Chance to Hit
An attackers' chance to hit is determined by the difference between the attacker's attack and the defender's defense, which we will call the attacker's relative strength. All hits have at least a 10% chance of success called a critical hit and a 10% chance to failure called a critical miss.
|Attacker's Relative Strength||Chance to Hit|
|-4 or less||10%|
|4 or more||90%|
For the mathematically inclined, the percentage chance to hit is given by the formula: (Attack - Defense + 5) * 10, where percentages lower than 10 are rounded to 10 and percentages higher than 90 are rounded to 90.
Unsuccessful hits deal no damage. Critical hits deal the maximum damage of the ability or spell used. Non-critical successful hits deal a random amount of damage between the attacker's minimum and maximum damage inclusive. An attacker's minimum damage is typically one, but if the attacker's relative strength was 5 or greater, the attacker's minimum damage is increased. Mathematically, the attacker's minimum damage is the larger of 1 or (Attack - Defense - 3).
If the hit dealt damage, there is a chance it will have secondary effects based on the damage type.
The expected damage per hit, taking into consideration the attacker's chance to hit, is given below. The rows are the attacker's relative strength and the columns are the attacker's damage. Note that due to special abilities, it is possible for stats to be larger than 10.