Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
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 |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
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 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. |
|
#2 |
|
|