Lone Wolf Development Forums  

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


Thread Tools Display Modes
Senior Member
Join Date: Sep 2017
Posts: 566

Old February 9th, 2023, 08:47 PM
Is it always modifying trkPsiPnt? If so, then you don't need any of the pChosen stuff; that's only if the adjustment can pick from a list of things (like if your adjustment can choose whether to modify your choice of Strength, Dexterity, Con, etc.)

So if the adjustment is always modifying the same thing (trkPsiPnt), then it should go like this:

~ If this adjustment isn't enabled, get out now
      doneif (field[pIsOn].value = 0)

~ Adjust the Psi Point tracker Max Value up or down
      hero.childfound[trkPsiPnt].field[trkMax].value += field[pAdjust].value
That second section is going to be reusable for anything that modifies the Psi Points maximum. Just change the "field[pAdjust].value" part to whatever number or variable you want to add to the maximum.

Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub.

Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts!

Last edited by Fenris447; February 9th, 2023 at 08:50 PM.
Fenris447 is offline   #21 Reply With Quote
Senior Member
Join Date: Mar 2011
Location: USA
Posts: 359

Old February 10th, 2023, 12:28 PM
I don't know why but I was making it much more complicated then I needed to.
Provos is offline   #22 Reply With Quote

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 07:57 AM.

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