• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

New Problem: Feat affecting duration of class ability

ErinRigh

Well-known member
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?
 
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
 
Back
Top