Clairvoyant
Prints two random numbers that will be produced by game’s RNG which determine success of a next attack/hack and amount of damage done on next successful attack.
Also useful for educational purposes to see which player actions change the state of the RNG.
Shown numbers are always inside of [0, 99] interval.
First number can determine if next attack will hit. If the number is lower than current chance to hit then it will hit.
This also applies to hacking. If the number is lower than current chance of successful hack then the hack will be successful.
Some examples:
If "Hit/hack" random number turns out to be 0, an attack will hit as long as its hit chance is at least 1%.
If "Hit/hack" random number turns out to be 99, an attack will only hit if its chance to hit is 100%.
Second number can determine roughly how much damage next attack will do if it hits.
The lower the number, the closer the damage will be to max damage.
The opposite is also true. The greater the number, the closer the damage will be to min damage.
For example value of 50 will cause the attack to do roughly average damage of a weapon, so [(min + max) / 2] damage.
Made to work with War of the Chosen DLC. Not tested on the base game.
This mod is currently very barebones. There are no config options and numbers are always shown as long as tactical mission is currently in progress.
This mod overrides XComTacticalHUD class in order to draw text on screen during tactical missions and will not be compatible with any mod that overrides the same class.
