morvael -> RE: Better approximation of CV (11/28/2014 7:03:36 PM)
|
Internally (for AI) Alt CV is used since 1.07.12. Alt CV is closer to what you can get during combat when the random effect are applied by modifying the core value to correctly take into account expected values of random rolls. Example: CV 100, Morale 60 "Old" CV modified by morale: 100 * 60/100 = 60 During combat there is morale chance (60% in this case) that CV will be doubled (to 200 in this case). There is a separate chance (100-60=40% in this case) that CV will be halved (to 50 or 100, depending on the result of the first test). "Alt" CV is calculated as this: 100 can become 200 with 60% chance (or remain 100 with 40% chance), so the expected value is 40%*100+60%*200=40+120=160 160 can become 80 with 40% chance (or remain 160 with 60% chance), so the expected value is 40%*80+60%*160=32+96=128 "Alt" CV in this case is 128 whereas "Old" CV is 60. In actual combat you can get four possible results: 50 with 40%*40%=16% chance (not doubled and halved) 100 with 60%*40%=24% chance (doubled and halved) 100 with 40%*60%=24% chance (not doubled and not halved) 200 with 60%*60%=36% chance (doubled and not halved) As you can see all the chances add up to 100% as they should, and weighted values 16%*50+24%*100+24%*100+36%*200=8+24+24+72=128 are also equal to the previously calculated result. To sum it up, do you think 60 is more accurate or 128 when compared to the actual results to be obtained during the random process?
|
|
|
|