# Evasion

Evasion is a Ship's ability to cause its enemy's attack to either Miss or Graze. Evasion is expressed as a Rating.

A complete Miss nullifies the attacker's chance to Grapple the target, Stun the target, or inflict Critical Damage.

- As a side effect, a Miss may cause the attacker's Weapon Cooldown to be reduced (depending on their Hit Rating.

A Graze reduces Damage against the target by half and does not cause the attacker's Weapon Cooldown to be reduced. A Graze does not nullify the attacker's ability to Stun or Grapple the target or to inflict Critical Damage.

## Evasion Mechanic

When a weapon is fired at a target, both the attacker and the target roll the virtual dice. The range of the attacker's dice roll is 1 to (100 + the attacker's Hit Chance Rating). The range of the target's dice roll is 1 to his Evasion Rating. If the target's roll is equal to or greater than the attacker's roll, the shot will result in a Miss.

If the attacker's roll is greater than the target's roll, there will be a dice roll to determine whether the attacker inflicts Critical Damage on the target.

If the Critical roll fails, then the dice will be rolled a third time to determine whether the shot will Graze or Hit. Again, the target and the attacker will roll the dice as they did in the first roll. The range of the attacker's dice roll is 1 to (100 + the attacker's Hit Chance Rating). The range of the target's dice roll is 1 to his Evasion Rating. If the target's roll is equal to or greater than the attacker's roll, the shot will result in a Graze.

## Example

- Attacker has +20 Hit Chance
- Attacker has +20 Critical Chance
- Target has +40 Evasion

### Roll #1

- Determines whether the attack will result in a Miss
- Attacker Roll Range = {1 to 120}
- Attacker Roll = 70
- Target Roll Range = {1 to 40}
- Target Roll = 25

Result: Shot does not Miss; continue to Roll #2

### Roll #2

- Determines whether the attack will result in Critical Damage
- For this example, we will assume the Critical roll fails

Result: Shot does not result in Critical Damage; continue to Roll #3

### Roll #3

- Attacker Roll Range = {1 to 120}
- Attacker Roll = 17
- Target Roll Range = {1 to 40}
- Target Roll = 31

Result: Shot Grazes target.

## Formulas

- Input Values
- H = Attacker's Hit Chance
- C = Attacker's Critical Chance
- E = Target's Evasion Rating
- R = Target's Critical Resist

- Output Values
- M = Chance to Miss
- X = Chance to cause Critical Damage
- G = Chance to Graze
- D = Chance to cause normal Damage

- Formulas
- M = (E/2) / (H+100)
- X = (1-M) * C / (R+100)
- G = (1-M-X) * M
- D = 1 - M - X - G