View Single Post
risner
Senior Member
Volunteer Data File Contributor
 
Join Date: Jun 2010
Posts: 623

Old February 20th, 2011, 01:04 PM
Mathis, can you change code in the Pathcore.pkg file for me?

There is code like this:
~ Set up our candidate expression
if (tagis[Adjustment.Attribute] <> 0) then
field[pCandExpr].text = "component.BaseAttr"
elseif (tagis[Adjustment.Skill] <> 0) then
field[pCandExpr].text = "component.BaseSkill"
...
else
field[pCandExpr].text = "FALSE"
endif

To add an if into the if/elseif/endif:

elseif (tagis[Adjustment.Custom] <> 0) then
~ Leave the candidate express alone, assigned by the user via a field setting.
else
field[pCandExpr].text = "FALSE"
endif

This way I can program new cases you don't have in the if/then to be used. This would be useful to me in both Pathfinder and D20.
risner is offline   #72 Reply With Quote