To change to the interval you proposed, simply change 15 to 14 and 18 to 16 in these lines:Xeno wrote: ↑Sun Oct 17, 2021 4:51 pmWill you ? @MadScientistXeno wrote: ↑Tue Sep 28, 2021 8:24 am Could you make a patch to reduce age ranges for handicaps for all positions from 24 to 22 age if possible ? I think positional penalty calculations in code are based on age ranges such as ' below 18, between 18-21, between 21-24, between 24-30, between 30-36, over 36 , etc '.
My suggestion for positional penalty calculations in code are based on age ranges such as ' below 18, between 18-20, between 20-22, between 22-30, between 30-36, over 36 , etc ' and player home reputation instead of player world reputation.
Code: Select all
006EC277 CMP AL,15
006EC2A7 CMP AL,18
006ED679 CMP BL,15
006EC914 CMP CL,18
006EC944 CMP CL,15
006EDEB7 CMP DL,18
To use home rep instead of world rep, change +D to +9 in these lines:
Code: Select all
006EC96C MOVSX EAX,WORD PTR DS:[EDI+D]
006ED681 CMP WORD PTR DS:[EDX+D],0EA6
006EE52E CMP WORD PTR DS:[EAX+D],DI
006EE63F CMP WORD PTR DS:[EAX+D],DI