Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
smokeh
Junior Member
 
Join Date: Jun 2016
Posts: 23

Old March 10th, 2018, 03:48 PM
There are 2 ability group lists that I don't want to appear until the user has chosen a class Specialist. I feel like this should be fairly trivial, and I have an exact example I'm trying to copy from, but I just can't get this to work.

The UA Artificer from the Community Pack has an Alchemist specialist. When you pick that specialist, it creates a new special ability called 'Alchemical Formulas' with new picks.

From what I can see, the 'Alchemist' special ability has this eval script:

Code:
       linkage[table].field[cSpec3rdNm].text = "Alchemical Formulas"
       linkage[table].field[cSpec3rdSi].text = "Alchemical Formula"

       linkage[table].field[cCustTeTot].arrayvalue[0] += 1
       linkage[table].field[cCustTeTot].arrayvalue[2] += 2
       linkage[table].field[cCustTeTot].arrayvalue[8] += 3
       linkage[table].field[cCustTeTot].arrayvalue[13] += 4
       linkage[table].field[cCustTeTot].arrayvalue[16] += 5
It's running at Post-Levels 9000 with a special timing of 'before Calc cGiveSp3rd'. There was nothing else on the 'Alchemist' Special Ability that I could see referencing creating the new field. I checked the fields on the Artificer class itself, and only saw the starting 'cSpecSing' for the specialist created.

When I add this variation into my specialist's Eval Script, it's not creating the new ability list. I already have a second and third ability I'm adding manually through the Class, and if I change the eval script I'm running to reference the 'third', it will change the name. I'm also not able to find a 'Calc cGiveSp4th', so my assumption is I'm missing something basic to trigger the creation of the 4th ability before my Eval Script can change it's values. I've also tried creating a new ability that references a fourth list (Helper.Quaternary tag), thinking that might drive some type of creation, but that also didn't work.

I double checked the 'cSpec4thNm' by adding a new field on the class.

Code:
       linkage[table].field[cSpec4thNm].text = "Test1"
       linkage[table].field[cSpec4thSi].text = "Test1"

 linkage[table].field[cCustTeTot].arrayvalue[0] += 1
Thanks for taking the time to read this, any help would be much appreciated.
smokeh is offline   #1 Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:31 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.