XCOM 2/ADVENT Turret

''"Steer clear of those turrets. We're not sure whether they're fully automated or remotely triggered." ~Chief Engineer Lily Shen''



The ADVENT turret is a stationary mechanical enemy with a large amount of armor. Unlike other enemies, they do not appear in pods. Instead, some missions will have turrets placed in addition to any enemies who would normally have appeared on the mission. They most frequently guard ADVENT troop transports and ADVENT trains on supply raids, and will occasionally be present on Guerilla operations.

If the floor below a turret is destroyed, it will always be immediately destroyed. Take care, not all floors can be destroyed with a single explosive.

Stats
Assume unlisted values are 0 or N/A. Unless otherwise specified, all damage ranges are uniformly distributed - each outcome is equally likely.

Turrets cannot move.

Types: Mechanical, Robotic

Appearance
Turrets only ever appear individually or in pods with only turrets. Additionally, turrets present on missions are present in addition to whatever enemies were already present. They do not appear on retaliations.

Behavior
Enemy behavior is processed one action at a time. Figure out what they will do in the first action, and then figure out what they will do in the second action from their new position with their last action point. Actions are bolded. Actions higher on the list are always attempted first if the conditions are met. The conditions are italicized.

First Action
 * Shoot
 * This action does not end the turret's turn
 * Reload
 * Overwatch, Multiple possible triggers, checked in the following order:
 * If two or more aliens are already overwatching, do not overwatch, even if the below conditions are true.
 * ''If it can see any XCOM operatives in a zone targeted by a two-turn attack (Psionic Rift, Wrath Cannon, or Blazing Pinions), 100% chance to overwatch. If one alien unit is already overwatching, 50% to overwatch.
 * If all available shots have less than 50 hit and nobody else overwatching, 25% to overwatch.
 * If the VIP is visible, 75% to overwatch. If at least one other alien unit overwatching already, 15% instead to overwatch.
 * If the EVAC and at least one XCOM unit is visible, 100% to overwatch. If at least one other alien unit overwatching already, 75% to overwatch.

Second Action
 * Overwatch
 * Identical conditions as listed above. Because each condition has failure chance, it is possible that the turret will do nothing with its second action.