Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 226

Old December 1st, 2017, 08:59 PM
Hi everyone, I’m trying to create a custom ability in the editor that scales by level. The ability confers a +1 competence bonus to the Stealth skill, and then adds another +1 for every four class levels (i.e. +2 at 4th level, +3 at 8th level, etc.)

I tried using the following eval script:
#competencebonus[hero.child[skStealth].value, .value += 1]

But when tested, I get an error: “Syntax error in ‘eval’ script for Thing ‘cBLAssDri’ (Eval Script #1) on line 4 -> Invalid use of reserved word ‘hero’ in script

Do I just have the syntax messed up, or is there a better way of creating a scaling ability in the editor.

Thanks as always.
Bob G is offline   #1 Reply With Quote
 

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 06:36 AM.


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