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
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old January 14th, 2013, 09:48 AM
I'm working on a scripting a feat tree that that gives you points in a pool (the first feat gives you access to the pool and then after that they each add one). It's kinda like the Ki Pool from the monk class, but I'm not exactly sure how to pull it off. I've looked through the Ki Pool ability and looked through the Tracker tab, but it's still not quite clear to me.

Thanks,
Andrew
AndrewD2 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 January 14th, 2013, 10:13 AM
Quote:
Originally Posted by AndrewD2 View Post
I'm working on a scripting a feat tree that that gives you points in a pool (the first feat gives you access to the pool and then after that they each add one).
Do you mean the 1st feat gives you the pool of points to use and each feat after adds MORE points to it?

If so you make a new Tracker on the Tracker tab. Make sure its listed as Add Once. I think that is the default or Unique is. Both will work.

Then the first feat should bootstrap the tracker so that it gets added to the hero. Then have each feat simply add to the total on the tracker before final 10,000. I think that timing is write. I usually just go post attributes so that I can easily add in attribute modifiers if needed.

So lets say your new Pool has has a unique ID of a"trkPool".

Post-Attributes/10000
Code:
~ Assume each feat adds 2 points to the pool total
#trkmax[trkPool] += 2
Keeping to Hero Lab standards means I would do the following instead:
Code:
~ Add to abValue first so outside things can adjust us
field[abValue].value += 2
~ add to the pool total
#trkmax[trkPool] += field[abValue].value

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
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 05:59 AM.


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