Member
Join Date: Aug 2012
Posts: 72
|
I have created 2 Racial custom abilities for the Bone naga, it's spellcasting depends on the naga it was during his life.
In the custom ability I try to link the correct castattr, I've done this script but something is missing as it can't find the table. perform linkage[table].setfocus doneif (state.isfocus = 0) doneif (tagis[Helper.Disable] <> 0) ~ Spellcasting attribute perform focus.setlinkage[castattr,BaseAttr,"IsAttr.aWIS"] any idea ? |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Your transition is not right. If you check out the 'location location location' article you see that linkage[table] only works for classes.
As you only have "one" race to get you can just do a: Code:
perform hero.findchild[BaseRace].setfocus doneif (state.isfocus = 0) 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 |
Member
Join Date: Aug 2012
Posts: 72
|
Thanks it works
|
#3 |
|
|