# Stun

Stun set a target's movement, attack and repair timers to the stun duration.

If any of these timers are higher than the stun duration, it will not "stack" or add to their timer.

Stun can trigger on any damage, including Graze and Splash. It will not trigger against Planets, Garrisons, and Boss NPCs.

Stun may be reflected back at an attacker with the Deflector Special.

## Stun Duration, Chance, and Resist

A player's ship has three attributes related to Stun: Stun Duration, Stun Chance, and Stun Resist.

• Stun Duration represents the length of time for which a player stuns an enemy.
• Stun Duration is added to the cooldown time of a player's weapon.
• Example: A player with +4s Stun duration will stun for 7s while using a Banshee.
• Example: A player with +5s Stun duration will stun for 10s while using a Ripper.
• Example: A player with +0s Stun duration will stun for 10s while using a Matter Inverter.
• Stun Chance represents the likelihood that a Hit or Graze will result in the enemy being stunned.
• Stun Resist represents the likelihood that a successful stun by an enemy will be resisted.

## Stun Mechanics Part 1: The Chance to Stun

When a player attacks and successfully hits or grazes the target, there is a random dice roll to determine whether the attack will result in a Stun. The Range of the dice roll is from 1 to the Target's Stun Resist plus 100. If the result of the roll is less than the Attacker's Stun Chance, then the Target will be stunned.

The Chance to Stun formula (assuming Hit or Graze) is defined as:

• C = Attacker's Stun Chance
• R = Target's Stun Resist

Chance to Stun = C / (100+R)

## Stun Mechanics Part 2: Stun Duration

When an attacker successfully Stuns a Target, the Target's weapon cooldown and movement cooldown timers are reset to the greater of:

• the Attacker's Stun Duration
• the Target's current cooldown time

Example:

• Target's Weapon Cooldown = 10s
• Target's Movement Cooldown = 12s
• Attacker's Stun Duration = 8s
• The Target's Weapon Cooldown (10s) and Movement Cooldown (12s) are both greater than the Attacker's Stun Duration. Stun has no effect.

Result:

• Target's Weapon Cooldown = 10s
• Target's Movement Cooldown = 12s

Three seconds elapse

• Target's Weapon Cooldown = 7s
• Target's Movement Cooldown = 9s
• Attacker's Stun Duration = 8s
• The Target's Weapon Cooldown (7s) is less than the Attacker's Stun Duration. The Target's Weapon Cooldown is reset to the Attacker's Stun Duration (8s).
• The Target's Movement Cooldown (9s) is greater than the Attacker's Stun Duration. Stun has no effect on the Target's weapon cooldown.

Result:

• Target's Weapon Cooldown = 8s
• Target's Movement Cooldown = 9s

Three seconds elapse

• Target's Weapon Cooldown = 5s
• Target's Movement Cooldown = 6s
• Attacker's Stun Duration = 8s
• The Target's Weapon Cooldown (5s) and The Target's Movement Cooldown (6s) are both less than the Attacker's Stun Duration. The Target's Weapon Cooldown and Movement Cooldown are both reset to the Attacker's Stun Duration (8s).

Result:

• Target's Weapon Cooldown = 8s
• Target's Movement Cooldown = 8s