ckb1 wrote:I have been browsing / admiring / stealing some of the code, and ran into something I do not understand.
cc_ascend.ash, line 9194:
Code: Select all
if(my_inebriety() >= 10)
expectPool += (30 - (2 * my_inebriety()));
expectPool += my_inebriety();
As I understand it, pool skill decreases by 2 for every 1 inebriety over 10, so I would expect this to be:
expectPool += (20 - (2 * my_inebriety()));
which is also
expectPool -= 2*(my_inebriety()-10);
Do you have this wrong? Or am I misunderstanding something?
At 10 drunkeness you have 10 pool skill from booze. Using the script's equation and plugging this drunkeness in you get that answer of 10 pool skill, but if you change the 30 to 20 that would give you 0 pool skill at 10 drunk.