Junior Member
Join Date: Jun 2015
Posts: 23
|
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? |
#1 |
Senior Member
Join Date: Jul 2010
Posts: 3,147
|
Quote:
Code:
hero.childfound[xSneakAtt].field[livename].text = hero.childfound[xSneakAtt].field[name].text & " +" & hero.childfound[xSneakAtt].field[Value].value & "d8" |
|
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
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 Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#3 |
Junior Member
Join Date: Jun 2015
Posts: 23
|
Thank you all, this worked perfectly.
|
#4 |
|
|