Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD

Notices

Reply
 
Thread Tools Display Modes
Swampyjim
Junior Member
 
Join Date: Sep 2019
Posts: 2

Old September 28th, 2019, 06:45 AM
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
Swampyjim is offline   #1 Reply With Quote
dungeonguru
Senior Member
 
Join Date: May 2016
Posts: 608

Old September 28th, 2019, 09:09 AM
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
dungeonguru is offline   #2 Reply With Quote
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old September 28th, 2019, 09:09 AM
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!
Mergon is offline   #3 Reply With Quote
Mergon
Senior Member
 
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788

Old September 28th, 2019, 09:10 AM
lol, Dungeonguru beat me to it by a hair.

Watch your back, Conserve your ammo,
and NEVER cut a deal with a dragon!
Mergon is offline   #4 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 03:48 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.