• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Problem creating bonus to spells

Aril

Well-known member
I'm working on building out the Feyborn from Fat Goblin Press' "Racial Ecologies Guide to Feyborn", and am having difficulty with one of the abilities.

One of them is called "Fey Magic" and gives a character a +1 bonus to the DC of any saves against illusion spells they cast.

This type of ability is really quite common. Gnomes have it, Svirfneblin have it, etc. I've tried to replicate it by copying the Eval Scripts from the relevant gnome abilities:

Phase: Post-Levels
Priority: 10000
Index: 1

~ If we're disabled, do nothing
doneif (tagis[Helper.SpcDisable] <> 0)

~+1 Illusion save DCs
hero.childfound[ssIllusion].field[schDC].value += field[abValue].value


However, although I *can* add the ability as a "Racial Special" in the Editor, when I *pick* that ability as a "Racial Special Ability" on the Race tab in the Editor, it appears, but the bonus is never applied to any of the the Illusion spells I memorize when I build a character.
 
Stupid question, when is field[abValue].value being set? Gnome magic just includes a +1 and doesnt use a field
 
Stupid question, when is field[abValue].value being set? Gnome magic just includes a +1 and doesnt use a field

I didn't have any value. I didn't see that when I was borrowing the script.

But based on your question, I just looked for a field that said "abValue" and it's a text field, so I put "1" in there, tested again, and saved the file, and now it works!

Thank you!
 
Back
Top