Senior Member
Join Date: May 2013
Posts: 1,458
|
I have a skill, "skKnow" that's a generic knowledge skill with the NeedDomain tag, so the player can specify the area of knowledge.
Other choices made during character creation can bootstrap this skill multiple times. For instance, I have a "Learned" descriptor that bootstraps three instances of "skKnow". I then want an eval script on "Learned" that applies a bonus to each of the Knowledge skills that it bootstrapped, but NOT to any Knowledge skills that it has NOT bootstrapped. Is there a simple way to do this? |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Simple way would be to add a tag on the bootstrap that identifies these Specific skills. Then either a foreach loop to read only those or a base script in the skill component that only fires when that tag is present.
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 |
Senior Member
Join Date: May 2013
Posts: 1,458
|
Actually, thanks to your tip, I can do it all within the bootstrap element. Thanks.
Code:
<bootstrap thing="skKnow"> <autotag group="Descriptor" tag="DscLearned"/> <assignval field="trtBonus" value="1"/> </bootstrap> |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Nice!
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. |
#4 |
|
|