Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - d20 System (http://forums.wolflair.com/forumdisplay.php?f=46)
-   -   Variable Base Charges for new abilities? (http://forums.wolflair.com/showthread.php?t=60845)

Dark_Soul June 27th, 2018 06:27 PM

Variable Base Charges for new abilities?
 
Is there a way to set the base charges for a new ability to a variable value such as an ability modifier?

I'm entering a feat that gives a number of uses equal to the character's Intelligence modifier, thus the question. Thanks in advance for any help.

Sendric June 28th, 2018 06:35 AM

Yes, you can set charges to almost anything by modifying the hTotal field.

Code:

field[hTotal].value = hero.child[aINT].field[aModBonus].value
Be sure to run it Post-Attributes or it won't be able to pick up the correct value.


All times are GMT -8. The time now is 02:13 AM.

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