Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Dastir
Member
 
Join Date: Sep 2008
Posts: 48

Old August 23rd, 2011, 09:28 AM
I have spent some time searching the forums, but could not find the answer ot this question...

I am trying to add a prestige class that grants Darkvison at level 1. if the character already has Darkvison, it increases the range by 30 feet. I am at a loss as to how to accomplish this.

I copied the ability from the Liberator class which says it grants 60 or increases by 60, but it does not actually increase the range - the specials column on the sheet still shows 60 feet.

I tried the following script:

Code:
var exists as number
exists = hero.pickexists[rDarkVis]

if (exists > 0) then
   hero.child[rDarkVis].field[Value].value += 30
else
   hero.child[rDarkVis].field[Value].value = 60
endif
But since the ability boostraps Darkvision, it is always setting the range of the darkvison to 90 feet, regardless of whether the character already had darkvision or not.

Help?
Dastir 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:32 PM.


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