Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
I've been trying to add a list of domains to a prestige class and have run into some strange problems.
First, I only want it to have access to the domains from a chosen deity. This would be all well and good except that no matter how I select things the Custom Ability box says "Nothing to Display" Any way I try and add to the custom expression. Now if I do the normal method and populate the custom ability as a cleric it will fill fine. But, that shows all domains. After that this prestige does not have enough levels of its own to gain access to all 9 levels of domain spells. I want to add the chosen base class to the PrC's level to for the purpose of calculating what spells they have access to. I think that should be easy once I get the correct domains to display, but I wanted to include that here. As of right now, the domain spell secondary spell list wont even display at all, no matter how I set things up. I am assuming that has something to do with the difference between a PrC and a normal class. |
#1 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
I get what your trying to do accomplish but without "seeing" what you have done its hard to know what exactly is wrong. But a invalid custom expression will cause the "Nothing to Display" to happen. 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 |
Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
Sorry for the limited information earlier. Here is the logic I have tried. I would rather not post the all of the code because the file would require other files to run properly I think.
Code:
(SpecSource.cHelpClr | SpecSource.cHelpFaS) & !Helper.Secondary & !Helper.Tertiary & !Helper.Quatinary & !Helper.Quintenary & !Helper.Obsolete and Code:
thingid.cdSun | thingid.XXX | thingid.xxxx ..... etc |
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
From an archetype I wrote that only allows the Fire Domain.
Code:
<eval phase="Final" priority="99999999"><![CDATA[ ~ Change the list of Domains to only allow the Fire Domain as a valid ~ choice. linkage[varies].field[cCstSpExpr].text = "thingid.cdFire"]]></eval> </thing> Is the above the field and timing you are at when setting your list of domains? 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: Nov 2013
Location: Andover, Ma
Posts: 632
|
Quote:
That is waay earlier than any of my timing. I was running on the assumption that things had to be assigned prior to the class. I was focusing my attempts on everything before Pre-Levels/50000 I need to learn more about timings. Seems like most of my issues are either about timing, transitions and foreach construction. Well, that works, I should be able to construct something that pulls from the deity to allow the proper domains, and it shouldnt be to hard to pull the correct CL for the domains from the base class. Thank you. ----------- It does not show the Sun domain even when added in this method. It does not automatically populate the secondary spells from the selected domain. Last edited by TobyFox2002; June 7th, 2016 at 03:57 PM. |
|
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Trying to help in saying this. Final is way "later" than Pre-Levels actually. Early would be in the the "First" phase area.
In this case when you want to muck around with a custom expression that HL is building you want to be really late. This allows you to adjust the value to what you want "after" HL has already set the value. Otherwise what happens often is they do an "append". Meaning your final custom expression could have looked like: Code:
thingid.cdSun | thingid.XXX | thingid.xxxx(SpecSource.cHelpClr | SpecSource.cHelpFaS) & !Helper.Secondary & !Helper.Tertiary & !Helper.Quatinary & !Helper.Quintenary & !Helper.Obsolete So "First" timing is very early in the system calculations. This means expect very little of any value or tags to exist on the hero or other Things. By "Final" timing we are very late in the system calculations. This means you can expect to find 99% of all tags, fields, and Picks to have values. Stuff for the "UI" like displaying lists or tables happens AFTER all scripts have run. After that each "Timing" section sort of tells you about itself. In example Class levels or Attributes being calculated. That is my 2 second definition of timing. Maybe it helps. 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. |
#6 |
Senior Member
Join Date: Nov 2013
Location: Andover, Ma
Posts: 632
|
Quote:
But as my edit stated, the Sun domain is isn't being added to the list, nor is the secondary spells being created. |
|
#7 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Unless Aaron or Mathias know what is wrong cause I am not sure right now without being able to see the code and XML... 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. |
|
#8 |
|
|