• 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

Improved Sneak Attack?

I've been trying to create a feat that increases the die used for sneak attack from d6 to d8 using an eval script similar to what was posted in the Pathfinder forum here, but I keep getting an error when I include listname. livename works fine but it doesn't seem to like listname.

Does anyone already have something created for d20 that can do this or can help me understand why this isn't working?
 
I've been trying to create a feat that increases the die used for sneak attack from d6 to d8 using an eval script similar to what was posted in the Pathfinder forum here, but I keep getting an error when I include listname. livename works fine but it doesn't seem to like listname.

Does anyone already have something created for d20 that can do this or can help me understand why this isn't working?

The d20 system does not support everything that Pathfinder supports, so you can't always use scripts from Pathfinder. To do this, you will probably want to use a script like this:

Code:
hero.childfound[xSneakAtt].field[livename].text = hero.childfound[xSneakAtt].field[name].text & " +" & hero.childfound[xSneakAtt].field[Value].value & "d8"

Run this script after Post-Levels/20000, and it should work.
 
For future reference once I get to redoing the Rogue Class the ability will store the Dice Size in the Value2 field. This way outside scripts "can" easily adjust the die size with a simple script like:

Code:
~ Set Sneak Attack to d8
#value2[xSneakAtt] = 8
 
Back
Top