Senior Member
Join Date: Oct 2016
Posts: 621
|
I am coding a feat as follows;
Extended Strife Surge Your strife surges grant you extra benefit. Prerequisites: Strife surge class feature. Benefit: The effects of your strife surge ability last for an additional round. This feat can be selected multiple times. Each time you select it, your strife surge lasts for an additional round. The Strife surge ability lasts, normally, for a single round, so I have an abDuration field for Strife Surge (cMALStrSur) but for the life of me I can't seem to wrap my head around how to add 1 to the abDuration field on cMALStrSur each time the feat is taken, help please? |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
I would not use abDuration at all as its just "info". If I was a player I would want the counter to display on the In-Play tab so that I could mark it off when used. Meaning you should set the class ability to "Show on Tracked Resources". Set the trkMax field to 1 and set the Usage tag to "rounds".
Then on the feat all you need is. I would do it around Post-Levels/15000. Code:
~ If we're disabled, do nothing doneif (tagis[Helper.FtDisable] <> 0) #trkmax[cMALStrSur] += 1 Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#2 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
Ok that's what I did
|
#3 |
|
|