Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Aldaron
Senior Member
 
Join Date: Dec 2007
Posts: 139

Old March 21st, 2013, 05:13 PM
Hi guys,

We have a house-rule in my campaigns for druids, where a druid's wild empathy checks get a bonus equal to half his Handle Animal skill. Without recreating druids from scratch, I'm trying to create an Adjustment in the editor. So far, so good. By using the Eval Script from the Ring of Sacred Mistletoe, I've created a simple Adjustment with the following Eval Script:


Code:
if (hero.childlives[cWildEmp] <> 0) then
        hero.childfound[cWildEmp].field[abValue].value += 3
        endif
This works nicely, and give the bonus the Wild Empathy for the character (ups the current +6 to +9)

The problem comes about when I try to make the "3" in the above code equate to half the Handle Animal skill of the character. I've tried using the following in place of "3", but get errors:

Code:
(hero.skHandleAn)/2
(hero.child[skHandleAn])/2
skHandleAn/2
At the moment, I'm just guessing, really, and I was hoping someone might be able to clue me in on the correct syntax. I'm also assuming there is some sort of rounding function, as well.

Thanks in advance
Aldaron is offline   #1 Reply With Quote
 


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 08:35 AM.


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