Under the Hood
So, since I'm a capable programmer with nothing better to do, I took a break from playing XCOM2 to dive into XCOM ModBuddy. All of the following is taken directly from the SDK. Presume all statements to refer only to the base game, unless otherwise qualified.
All potential Hidden Abilities come from soldier classes, which, in the base game, means Ranger, Grenadier, Sharpshooter, Specialist, or Psi Operative. What the game does is iterate through all the classes, checking each class' ability list for abilities that are marked "CrossClassEligible". Abilities from the current unit's class aren't added as possibilities. (So a Sharpshooter will never get "Death from Above" as a Hidden Ability, even though Hidden Ability is Cross-Class eligible)
It looks like there are hooks for an extra list of non class-associated abilities, and I've heard people get "Lightning Reflexes", which isn't a class perk, but I haven't found that list yet.
After assembling this list, the game simply generates a random number from 1 - X (where X is the total number of skills) and assigns that as the Soldier's Hidden Ability.
TLDR: Most abilities are class-specific, and you will never get abilities from your class as Hidden Abilities.
List of Cross-Class Skills
Grenadier
- Hail of Bullets
- Blast Padding
- Holo Targeting
- Shredder
- Volatile Mix
- Chain Shot
- Rupture
- Salvo
Ranger
- Run & Gun
- Untouchable
- Implacable
- Shadowstep
- Phantom
- Deep Cover
- Rapid Fire
Sharpshooter
- Deadeye
- Death From Above
- Serial
- Kill Zone
- Aim
Specialist
- Ever Vigilant
- Guardian
- Covering Fire
Advanced Warfare Center (Unique)
(Think the Specialist misses out since most of their skills are Gremlin Focused)
EMP Grenades/Bombs
So I just learned from Are Gatekeepers vulnerable to EMP Bombs? that Gatekeepers can actually be heavily damaged from EMP grenades/bombs, and can even have a chance to be stunned by them for 2 turns!
I tested and confirmed this myself. In the following screenshot, I used an EMP Bomb on an undamaged Gatekeeper, and it took something like 12 damage, and was also stunned:
Which is weird, because you can't hack a Gatekeeper, so who knew it had robotic components that could be damaged by an EMP?
Flashbangs
I've heard that Flashbangs (or being disoriented) can lower a target's Will stat, which would make it more vulnerable to mind control. I decided to test this out too.
The following is the Will stat of an undamaged Gatekeeper versus a fully upgraded (i.e. has all abilities and fully upgraded Alien Psi Amplifier) Psi Operative using Dominate:
The target's Will is 110%, which reduces my chance to Dominate to 80%. After hitting the Gatekeeper with an EMP Bomb, followed by a Flashbang (so that it's also Disoriented), I checked the chances again, and the Gatekeeper's Will was still 110%.
I've also heard that Flashbangs (and being disoriented) can disable some of the Gatekeeper's abilities, but I haven't tested this out yet, and I'm not sure which abilities exactly would be disabled.
Best Answer
There's some information in the XCOM-2 Wiki.
disoriented:
burning
Poisoning just damages, & decreases mobility and aim.