Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
DwarvenWiz
Junior Member
 
Join Date: Jun 2015
Posts: 23

Old June 9th, 2015, 10:22 PM
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?
DwarvenWiz is offline   #1 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,146

Old June 11th, 2015, 04:50 AM
Quote:
Originally Posted by DwarvenWiz View Post
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.
Sendric is offline   #2 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old June 11th, 2015, 10:48 AM
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.
ShadowChemosh is offline   #3 Reply With Quote
DwarvenWiz
Junior Member
 
Join Date: Jun 2015
Posts: 23

Old June 13th, 2015, 12:48 PM
Thank you all, this worked perfectly.
DwarvenWiz is offline   #4 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:42 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.