====== Precision Rolls ====== Ranged combat is different from melee combat in that it does not use defense values. Instead, [[precision roll|Precision]] is used to determine determines which square a missile or spell hits, depending on a unit’s Precision and the range of the attack. If there are units in the square, they may be hit, whether they are friendly or enemy. Missiles cannot distinguish friend from foe. How the game determines what square to hit is not completely known. Testing has shown that the game will attempt to pick the square (or squares if [[area of effect|AoE]]) where the attack can potentially cause the most damage. This means that the game will tend to prioritize targeting squares with high hit point density and low protection or resistances. This can be exploited by the player by placing high hitpoint units away from the main army to act as bait. Targeting can be influenced by giving squads orders such as Fire Closest, Fire Cavalry, etc. A missile Precision roll can be triggered when firing a ranged weapon or casting spells. Any ranged attack or spell with a Precision bonus of 100 always hits its target square as long as that square is within range. {{template>precisionroll}} The game will randomly determine whether the missiles deviate long or short, left or right, or some combination. The actual distribution is a bell curve – most projectiles will fall within the middle of the deviation range, but some will land at the extremes. Once the game decides where a missile lands (even if it is far away, that square is affected), any unit in that square may be targeted. The size of the unit influences who will be hit. If a square with a giant of size 4 and a human of size 2 is hit, the giant will be targeted two times out of three. Once the target is decided, there is a hit calculation that uses the following values: {{template>rangedtargetroll}} Thus, the more units in a square, or the bigger the units in a square, and the more tired they are, the more likely someone is going to be hit by a missile weapon landing in that square. Any ranged attack or spell with an [[area of effect]] of one or higher will hit everyone in the square. For [[AoE]] higher than 1 surrounding squares will be hit as well. If the attacker’s roll is greater than the defender’s then a hit is achieved. [[damage roll|Damage]] is then calculated. * Most ranged weapons add one-third of the unit’s Strength to the weapon damage value (plus a random number). * Crossbows and some other weapons are [[armor-piercing|Armor Piercing]] in addition to dealing piercing damage. This means that only 40% of defender’s Protection value is used. * Some spells can even be [[armor-negating|Armor Negating]] which means that armor affords no protection. While it may seem that missile units cannot shoot very far without having their shots deviate hopelessly, in practice massed units can deal severe damage to an enemy simply due to the number of projectiles in the air. Everything that goes up has to come down somewhere! {{tag>Combat-Mechanics}}