Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
wdmartin
Senior Member
 
Join Date: May 2013
Posts: 240

Old August 30th, 2015, 11:22 AM
I'm working on an adjustment to implement the Foretell ability from the Foresight wizard school. It grants a +2 luck bonus on ability checks, attack rolls, caster level checks, saving throws, and skill checks.

I've got all of these working except the caster level checks. I couldn't find any place to apply a bonus to all caster level checks. Adding to actual caster level is straightforward, but that's not what it does.

It looks like the one specific caster level check that Hero Lab tracks is the one for overcoming spell resistance, so I tried modifying that. Here's the relevant script:

Code:
Phase: Final Phase (users)
Priority: 10000
Index 2

	~ If we're not enabled, get out now
	doneif (field[pIsOn].value = 0)

	~ Add to CL vs SR checks
	herofield[tOverSplRs].value += 2
And I specified a timing of "Before Calc cOverSplRs". This was pretty much copy-pasted from the Spell Penetration feat. If there's a way to add a specific type of bonus to a CL vs SR check, I haven't figured it out.

Unfortunately, it doesn't work. The compile fails with the error "Non-existent thing 'tOverSplRs' used by script". Could this be a timing issue, or something? When I look at my test hero's fields in the floating info window, he's definitely got a field called tOverSplRs.
wdmartin is offline   #1 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old August 30th, 2015, 12:10 PM
Caster level will be on the class helper
AndrewD2 is offline   #2 Reply With Quote
wdmartin
Senior Member
 
Join Date: May 2013
Posts: 240

Old August 30th, 2015, 01:17 PM
I'm sorry, I have no idea what that means. What's a class helper?

EDIT: Never mind. I figured it out -- I had an incorrect line in an earlier script.

Last edited by wdmartin; August 30th, 2015 at 01:56 PM.
wdmartin is offline   #3 Reply With Quote
Reply


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 10:48 AM.


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