Some time ago I asked about changing the ability scores (here in the forum).
You pointed me to the "tAttrEvol" herofield. And it worked, thank you!
So, I have now a script so that the ability scores go up every 5 levels (in place of every 4 levels).
It works but now, I want to go a bit further.
My questions are:
1) how can I change the display. For the moment, at level 5, I can bump one ability score but it shows: "Level 4: +1 Charisma" and not "Level 5". The same thing happens at level 10 where I can read "Level 8: ..." and not "Level 10".
2) with my script, when the character is on level 1, it shows "Next attribute bonus in 4 levels". Good. But when the character reaches level 5, the player can click to increase her attribues and, when it's done, we can read "Next attribute bonus in 4 levels" but it's in fact in 5 levels not in 4. Sure when she will be level 6, it will correct: it will be "Next attribute bonus in 4 levels".
Well, maybe what I must do is to change the increase of tAttrEvol by 0.20 in place of the standard 0.25 per level but I don't know how.
Any hint to help with this?
You pointed me to the "tAttrEvol" herofield. And it worked, thank you!

So, I have now a script so that the ability scores go up every 5 levels (in place of every 4 levels).
Code:
[Phase="Post-levels (Users)" and Priority="15000"]
~debug "(Before) AttrEvol: " & herofield[tAttrEvol].value & " Lvl: " & #totallevelcount[]
herofield[tAttrEvol].value -= 0.25
if (#totallevelcount[] >= 6) then
herofield[tAttrEvol].value -= 0.25
if (#totallevelcount[] >= 11) then
herofield[tAttrEvol].value -= 0.25
if (#totallevelcount[] >= 16) then
herofield[tAttrEvol].value -= 0.25
endif
endif
endif
~debug "(After) AttrEvol: " & herofield[tAttrEvol].value & " Lvl: " & #totallevelcount[]
It works but now, I want to go a bit further.
My questions are:
1) how can I change the display. For the moment, at level 5, I can bump one ability score but it shows: "Level 4: +1 Charisma" and not "Level 5". The same thing happens at level 10 where I can read "Level 8: ..." and not "Level 10".
2) with my script, when the character is on level 1, it shows "Next attribute bonus in 4 levels". Good. But when the character reaches level 5, the player can click to increase her attribues and, when it's done, we can read "Next attribute bonus in 4 levels" but it's in fact in 5 levels not in 4. Sure when she will be level 6, it will correct: it will be "Next attribute bonus in 4 levels".
Well, maybe what I must do is to change the increase of tAttrEvol by 0.20 in place of the standard 0.25 per level but I don't know how.
Any hint to help with this?