Talk:Bravery
For anyone interested, here's how a plot of the Bravery Experience (the number of times Panic/MC is resisted) versus how often it results in a Bravery increase:
EC Min Ave +/- SDs Max N 0 0 0.00 0.00 0 2004 1 0 1.00 3.02 10 100 2 0 0.90 2.88 10 100 3 0 2.91 4.55 10 179 4 0 4.47 4.99 10 150 5 0 4.97 5.01 10 185 6 0 5.13 5.01 10 150 7 0 6.80 4.68 10 150 8 0 6.80 4.68 10 150 9 0 8.53 3.55 10 150 10 0 8.92 3.12 10 249 11 10 10.00 0.00 10 250 12 10 10.00 0.00 10 50 13 10 10.00 0.00 10 85 30 10 10.00 0.00 10 133 90 10 10.00 0.00 10 129 250 10 10.00 0.00 10 50
Where EC is the experience count value hacked into the Unitref.dat counter for Bravery (UR[85]), and Minimum, Average +/- Std. Dev. (sample), and Maximum are shown, together with the number of times tested. (The Ns are often nice round numbers because I would e.g. hack 10 soldiers in a savegame, then end that combat 15 times.) Don't be confused by the average; that is, you only get a 10 (or not), so the ave+SDs is actually a weighted average, as it were, of how often you get 10 or not for a given UR[85]. (That's why the SDs are huge and pretty much =5 in the middle.) For practical purposes, it's also a percent, e.g. 10 ECs result in a Bravery increase 89.2% of the time.
As you can see, the progression is not particularly smooth. But that's how the data was. Don't ask me why they chose 11 for experience counters and especially this, but they did. As you can see, I zeroed in around that 10/11 border with a bit of additional testing, but it held up.
Since Bravery is a pretty boring statistic all in all, I didn't do anything more with it except to make that simplified statement on the Bravery page.
For the record: The above was for varying values of Bravery, as long as they were less than 100. (Which is actually stored as an "inverted" single-digit value which equals a x0 value - see Unitref.dat and Soldier.dat.) As for other primary stats, I found that the current Bravery value (0 to 90) had no effect on the increase, as long as it was below the cap of 100 (data not shown).
---MikeTheRed