• 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

Confused By Eval Script Language

BlueDusk

New member
Hello, I'm trying to add an ability, preferably to a ring item, that increases the Caster Level of all spells with the Fire Descriptor by 1. The only comparison I can find is the Aasimar Sorcerer favored class bonus that adds +1/4 to Caster Level of Good Spells cast.

I've tried to edit this eval script but it just doesn't seem to work. Can someone please help me re-write the eval script so I can apply it ideally to the ring but even just as a trait would be helpful. Thank you!

Aasimar Eval Script said:
field[abValue].value += round(field[fcCount].value/4,0,-1)

doneif (field[abValue].value = 0)

perform assign[Helper.ShowSpec]
field[livename].text = signed(field[abValue].value) & " to Caster Level for Good spells"

foreach pick in hero from BaseSpell where "sDescript.Good"
eachpick.field[sCL].value += field[abValue].value
nexteach
 
I'd recommend a different starting point - the Ioun Stone (orange prism) for how to alter CL from a magic item, and the Sorcerer's Aquatic Bloodline, for a more efficient way to alter the Caster Level of a certain descriptor's spells.

Or, if you've got the ARG, the Gnome's Pyromaniac ART, rather than the aquatic bloodline, since that one's also fire spells.
 
The pyromaniac actually seems to be in the main package (since I don't get any notice about it being from a supplemental package anymore).

But that really is the way to go, it's better than the foreach as it it'll do it with 1 line on it's own.
 
Back
Top