Senior Member
Join Date: May 2013
Posts: 240
|
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 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. |
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Caster level will be on the class helper
|
#2 |
Senior Member
Join Date: May 2013
Posts: 240
|
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. |
#3 |
Thread Tools | |
Display Modes | |
|
|