Senior Member
Join Date: May 2015
Posts: 830
|
I am working on adding the PFS boons to HL, and there are several that give you the ability to cast one of 3-4 spells as a spell like ability. I am trying to get the spell text included in the boon, but spInfo.x one displays 2 or so spells. Additional descriptions do not appear.
|
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
There is a limit to how much text can be displayed, depending on the length of of the spells description you might run into that. I think a better option would be to just display the spell info text for the spell this ability actually chooses.
|
#2 |
Senior Member
Join Date: May 2015
Posts: 830
|
Issue is the boons lists several options, one example from 7-23 is:
Quote:
|
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
This sounds like to me that its only ONE of these spells. So have a dropdown box to select which single spell the person picks. Then pull the SpInfo.? tag from the chosen Thing. That way you get the spell information for a single spell and won't have a text length issue.
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. |
#4 |
Senior Member
Join Date: May 2015
Posts: 830
|
A dropdown would be a viable work around. The way those PFS Boons work is you get to choose which of those you cast when you cross it off the sheet. That way it gives a little flexibility for future game play.
|
#5 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The other alternative would be to add bootstraps of all those SLAs, and use the parent charges mechanism so that they all draw from the same set of uses/period (in this case; 1 use, period), and once one of them is used, they'll all show as used. To do that, add Helper.AlwaysAvl and Helper.TrackCharg to the boon, along with the correct usage information. On the spells, give them ChargeUse.1, and you may also need to give them all the other usage information except the number 1 (specifically, the Usage.UsedUp tag and the setting to make it not reset with a night's rest).
That way, the user can read the spell info on the individual spells. It just means a lot of things getting added to the SLA list. |
#6 |
Senior Member
Join Date: May 2015
Posts: 830
|
Not looking to get them added to the SLA list. Is there a working example of the spell dropdown?
|
#7 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Minous - for an example, think rogue talents - there's several in the core rulebook that do something similar.
|
#8 |
Senior Member
Join Date: May 2015
Posts: 830
|
Thanks for the help. I have it working but how do you add a "None" option? I am currently using:
Quote:
|
|
#9 |
|
|