Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
HoB feats? That was me then. *shakes head* I can't even remember half of the stuff I have done over the years. I suppose I'm getting old.
|
#11 |
Member
Join Date: Feb 2010
Posts: 33
|
So... I just tried this implementation as I did not find the feat in the community files yet. It did not work for me.
I created the feat and set the requirements (that worked fine -- only for humans and only at upbringing). I entered the following in the eval script (Phase: "Pre-Levels (User)" Priority: "5100"): if (tagis[Helper.FtDisable] <> 0) then done endif ~ Look through skills, set our # ranks = # points spent. foreach pick in hero from BaseSkill where "!thingid.kSpeakLang" each.field[kUserRanks].value = each.field[kUserPts].value nexteach I then added the feat to a character and tried adding cross-class skills. They are still only providing 1/2 rank benefits for each point spent. I quick HeroLab and restarted it, just in case. Still the same problem. What did I do wrong? Thanks. |
#12 |
Junior Member
Join Date: Aug 2011
Posts: 22
|
Sorry to resurrect this post.
I wanted to write this feat, but i found difficulties. I tried to do as posted, and even tried different phases, but even if the kUserRanks field is adjusted correctly, the ranks showed don't change... Are they hard-coded in or there is another solution? |
#13 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
My suggestion would be to copy what Risner posed for code into a blank text file or into an existing user file then save it. One thing I find curious is that it doesn't appear to have made it into the community files (at least not that I can find). That might something we should look into correcting.
|
#14 |
Junior Member
Join Date: Aug 2011
Posts: 22
|
That's what i did. But... didn't work.
Even if the kUserRanks is correctly updated, that is not reflected in the skills themselves. I think the total skill value calculation method has changed in a later version (later with respect to Risner), invalidating his solution. I think there is another field to mess with, or simply KuserRanks is ignored and the skill value is calculated by the program. That would mean trouble.. I have thought adding the (kUserPts - kUserRanks) value to the skill value itself, but i don't know if it will break something else. Will try this approach if i don't have feedback about it. Anyway, as i am near completion of the Races of Destiny user data file, will guarantee it will be inserted in my data file. Back to the work table... :P |
#15 |
Junior Member
Join Date: Aug 2011
Posts: 22
|
For now, i have simply made up this solution, but it is not elegant at all...
Code:
var diff as number if (tagis[Helper.FtDisable] <> 0) then done endif ~ Look through skills, set our # ranks = # points spent. foreach pick in hero from BaseSkill where "!thingid.kSpeakLang" diff = each.field[kUserPts].value - each.field[kUserRanks].value ~ If the ranks are different from the points spent, we add this difference to the total skill value if ( diff <> 0) then each.field[kModValue].value += diff endif nexteach |
#16 |
|
|