Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
TalMeta
Member
 
Join Date: Oct 2011
Location: Browns Mills, NJ
Posts: 75

Old July 20th, 2014, 02:12 PM
I'm working on a class that has the ability to drain charges from magic items. What I want to do is to put a tracker in the file somewhere that caps the stolen charges at a value equal to the character's CON modifier. Is there a way to do that?

TalMeta is offline   #1 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old July 20th, 2014, 03:18 PM
Quote:
Originally Posted by TalMeta View Post
I'm working on a class that has the ability to drain charges from magic items. What I want to do is to put a tracker in the file somewhere that caps the stolen charges at a value equal to the character's CON modifier. Is there a way to do that?

You can just make a generic tracker "General->Tracker". Then bootstrap it to the class or a class special.

Then add the following script:
Post-Attributes/10000
Code:
~ Set or max tracker value to be eaual to our Con Modifier
field[trkMax].value += #attrmod[aCON]

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.
ShadowChemosh is offline   #2 Reply With Quote
TalMeta
Member
 
Join Date: Oct 2011
Location: Browns Mills, NJ
Posts: 75

Old July 20th, 2014, 05:01 PM
Thank you so much, that worked perfectly.
TalMeta is offline   #3 Reply With Quote
Reply


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 08:38 PM.


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