Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Fenris447
Senior Member
 
Join Date: Sep 2017
Posts: 600

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:

Code:
~ 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
 


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 12:28 PM.


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