cephyn
Kubo
Originally posted by hwinkels
For each battle, a number is calculated for the defending unit (I have no idea how that number is calculated). Then, for each whack that the attacker takes against the defender, a random number is generated in the range 0 .. 1023. If the resulting number is greater than the number calculated for the defender, then the attacker scores a "hit" and the defender's Hit Points get lowered by 1. Otherwise, the defender scores the "hit" and the attacker's Hit Points are lowered by 1. First one to 0 loses the battle. All this obviously depends on exactly how the defender's threshhold value is calculated by the game. If there's a problem with battle results, then that is most likely the area where the cause of the problem lies. It's not in the RNG.
OK here's my question -- does the defender get 1 number per battle, or 1 number per round? ie, does he get a new random number each time a hit point is lost, or does he work with only 1 random number?
If the Defender gets only 1 number, it would explain how some battles seem so lopsided -- the defender simply has a realy high number that im rolling against over and over (like Def has a 1000 and I'm trying to beat that -- of COURSE my cavalry isn't going to scratch that pikeman.)

No additional lines for the AI to cheat, combat bonuses based on the phase of the moon, or rewritten "stringy" RNG that somehow generates non-idenpendent sets of random univariate numbers, keeping track of HP and previous results to influence it's RNG.