Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
vivisect
Junior Member
 
Join Date: Feb 2007
Posts: 7

Old February 8th, 2007, 02:23 PM
For the most part, I've found it pretty easy to test for prerequisites, but how do I test for character size and base saving throw prereqs?
vivisect is offline   #1 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old February 9th, 2007, 09:20 AM
At 03:23 PM 2/8/2007, you wrote:

>For the most part, I've found it pretty easy to test for
>prerequisites, but how do I test for character size and base saving
>throw prereqs?


Testing size isn't something we can easily support right now - I'll
have it added for the next release.


To test the base saving throw in a pre-req, set the script to
something like this:



if (child[vRef].field[vBase].value >= 3) then
@valid = 1
endif



This example will give an error if the base Reflex save is less than
3. You can change "vRef" for "vFort" or "vWill" to test the other
saving throws. Note that this will only test the basic save - it
won't count any attribute bonuses or resistance bonuses that have
been added to it. Is that what you need?


Hope this helps,



--
Colen McAlister (colen@wolflair.com)
Chief Engineer, Lone Wolf Development
http://www.wolflair.com/
Colen is offline   #2 Reply With Quote
vivisect
Junior Member
 
Join Date: Feb 2007
Posts: 7

Old February 9th, 2007, 09:45 AM
That's exactly what I was looking for...thanks!
vivisect is offline   #3 Reply With Quote
Reply


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 04:17 PM.


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