Junior Member
Join Date: Sep 2019
Posts: 2
|
Hi All
I am trying to convert the headband of Intellect to something closer to the PF Headband of Mental Prowess. When worn both Int & Cha are 18. I can see how I can adjust the Int to 18 but how do I add the Cha element. Cheers Jim |
#1 |
Senior Member
Join Date: May 2016
Posts: 608
|
I assume you've done a copy and you're looking at the script and are seeing:
hero.child[aINT].field[Minimum].value = maximum(19,hero.child[aINT].field[Minimum].value) and you can tell that INT is being set. If you wanted to additionally set CHA you would need to copy that line and change INT to CHA like: hero.child[aCHA].field[Minimum].value = maximum(19,hero.child[aCHA].field[Minimum].value) You would also want to change the 19 to an 18 in your example. The code here sets the scores to 19 unless you have a higher score, so basically if you change to 18 the same would apply. The ability scores are aSTR, aDEX, aCON, aINT, aWIS, aCHA |
#2 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
Just go into the builder and make a copy of the Headband of Intelect.
Then open the script and change the bonus for INT from 19 to 18. After that highlight an copy the INT line. Pase that to a new line. Then change the references from INT to CHA (Charisma) Give the item the name you want. Add your own tag. Then save the file to whatever you want. Don't try to sdave it to the original file. That should create the item. Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#3 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
lol, Dungeonguru beat me to it by a hair.
Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#4 |
|
|