• 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

My tracked resources seems disable

peterphonic

Active member
Hi,

I have created a new feat with this eval script :

Final Phase 99999
Code:
~ If we're disabled, do nothing
      doneif (tagis[Helper.FtDisable] <> 0)

field[trkMax].value = hero.child[aCON].field[aUser].value
field[trkLeft].value = hero.child[aCON].field[aUser].value
field[trkMin].value = 0

Show in tracked resources list is check.

SO, the feat correctly appears in in-play tab. But the text is grayed, like if all resources were used. Is it because I did a mistake in my script?

Thx
 
I believe the eval script is too late. Try setting it at PostAttr 10000

A couple other issue
1 - trkLeft is the number of charges left in the tracker (trkMax - trkSpent), so you shouldn't be setting it in an eval script since it will be calculated based on other things.
2 - the attribute's aUser field is the base number that the user enters, it doesn't include any enhancement bonuses from items and whatnot. You may want aFinalVal instead
3 - There is no need to set trkMin to 0, that is the default minimum already.
 
Back
Top