View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 28th, 2017, 02:13 PM
Please note I did this off the top of my head so misspelled/mistype words could happen.

Code:
doneif (field[gIsEquip].value = 0)
doneif (field[gIsAttuned].value = 0)

~ Grant Proficient & Expertise to All Tools carried and Advantage to All
~ Tools the Bearer is Proficient with.
foreach pick in hero from BaseEquip where "ToolCat.Artisan"
  perform eachpick.assign[Proficienc.Tool]
  perform eachpick.assign[Hide.Tool]
  ~ Pull the tags from the tool to our self. This is an easy way to build a list
  ~ of tags that we want to assign to the hero.
  perform eachpick.pulltags[ProfTooDbl.?]
nexteach 

~ Now push all the ProfTooDbl tags on our self to the hero
perform hero.pushtags[ProfTooDbl.?]

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