Junior Member
Join Date: Feb 2007
Posts: 7
|
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?
|
#1 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
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/ |
#2 |
Junior Member
Join Date: Feb 2007
Posts: 7
|
That's exactly what I was looking for...thanks!
|
#3 |
|
|