Member
Join Date: May 2014
Location: Plantation, FL
Posts: 78
|
Sounds great. Thanks for the information, I'll try to make good use of it in the future.
I took out the rendering and it MOSTLY worked. The only thing left to fix is on the special tab. It shows two different Spell Resistance blocks. The first one reads: Spell Resistance (19) You have spell resistance. The second reads: Spell Resistance (Ex) (Hallowed Witch) Spell Resistance - Andrew <:-(} |
#81 |
Member
Join Date: May 2014
Location: Plantation, FL
Posts: 78
|
Ah, never mind. I figured it out. I had set "Extraordinary Ability" for the Ability Classification. There was a checkbox above it for "Do not show on Specials tab." Once I checked that and tested it the second box went away.
- Andrew <:-(} |
#82 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Good job!
|
#83 |
Member
Join Date: May 2014
Location: Plantation, FL
Posts: 78
|
Here's one I can't figure out. It's a class feature for a class that requires both arcane and divine caster level ability, similar to the Mystic Theurge. Unlike the Theurge, however, it doesn't give new spells. Each level of the pclass adds one effective caster level to both the existing divine and arcane classes, but only for purposes of spells they can already cast. So no new spells, just a higher DC for existing ones in both classes. I couldn't find a tag for Caster Level. Oh, and it stacks for advancement of a familiar (animal) if the PC has one. This is the ability text.
Hallowed witch levels stack with other arcane and divine spellcasting classes for the purposes of determining caster level. For example, 4th-level druid/5th-level sorcerer and 2nd-level hallowed witch casts druid spells as a 5th-level caster and sorcerer spells as 7th-level caster. If a hallowed witch has a familiar, her hallowed witch levels stack with her sorcerer and/or wizard levels for the purposes of the familiar's advancement. - Andrew <:-(} |
#84 |
Member
Join Date: May 2014
Location: Plantation, FL
Posts: 78
|
- Andrew <:-(} |
#85 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
Caster level does not affect DC. If I understand your intent correctly, I would just foreach through all non-item spell/non SLAs on the hero and add to the sCL field of the spell an amount equal to the class level.
For the familiar thing, the thing you want is cArcFamil, and the field is CompLevel. The script will have to run super early, like First 450, so you'll need to count classes tags for the PrC instead of relying on field values as normal. |
#86 |
Member
Join Date: May 2014
Location: Plantation, FL
Posts: 78
|
Is this like what I've been doing with the script to level up a bonus? Would it use the same script? Also, not sure what a SLA is.
- Andrew <:-(} |
#87 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
SLA means Spell Like Ability.
A foreach is a way of cycling through all things of a certain type that meet a certain criteria and while doing so, make some change or pull some information from each. For example foreach pick in hero from BaseSpell where "!Helper.SpellLike & !Helper.ItemSpell" eachpick.field[sCL].value += X nexteach |
#88 |
Member
Join Date: May 2014
Location: Plantation, FL
Posts: 78
|
Quote:
Hero Lab was forced to stop compilation after the following errors were detected: Syntax error in 'eval' script for Thing 'cRLPrimMag' (Eval Script '#1') on line 2 -> Reference to undeclared variable: 'X' One or more timing errors were identified. Please review the timing report and correct the errors. You can access the report under the 'Develop' menu or by clicking this link. Script for Post-levels 450: foreach pick in hero from BaseSpell where "!Helper.SpellLike & !Helper.ItemSpell" eachpick.field[sCL].value += X nexteach foreach pick in hero from BaseSpell where "!Helper.SpellLike & !Helper.ItemSpell" eachpick.field[cArcFamil].value += X nexteach - Andrew <:-(} |
|
#89 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Replace X in the script with a valid variable. I am pretty sure Aaron was using X as a place holder for you to type in your own "value" (ie 1,2,3). 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. |
|
#90 |
|
|