Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
I am trying to create a simple adjustment that removes one skill proficiency and adds a different one.
The Component expressions are: pCandExpr = component.BaseSkill & Helper.Proficient pCandExpr2 = component.BaseSkill & !Helper.Proficient The first is a selection of proficient skills on the hero. The second is a selection of non-proficient skills on the hero. My eval scripts is as follows: Phase: First Priority: 1000 Quote:
The key differences are for the removal of a skill proficiency at the same time as adding one. When I chose to remove the Deception skill and add the Invistigate skill during a test, I get the following error . . . Quote:
Post-levels, 10000 & Final Phase, 10000 with the same issue. It has to be a simple issue that I am missing because the original adjustment works fine. Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
||
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
The 2nd custom expression on adjustments defaults to Things not Picks. And you can't modify Things only Picks.
Take a look at my "Weapon, Damage Type" adjustment I added. See where I modified the field pUsePicks2 to be 0 that is Things instead change that line of code to equal 1 for "Picks". 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 |
|
|