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
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old October 12th, 2009, 06:09 PM
Since which dragon natural weapons are available depends on the dragon's size, I am trying to make it so that when adjusting size up the correct weapons are added.

Currently the only thing I have are the ability to count tags as a condition for a bootstrap. I would like to set a bootstrap condition based on a field's value (specifically the value of the size field). How could I do this?
Lawful_g is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old October 13th, 2009, 11:30 AM
fieldval:tSize >= X

The race's size is turned into the hero's size at First/10000, so you'll have to put your test after that.

Note that the tSize field is turned into Size.? tags at First/99999999 - Size.Medium, Size.Small, etc., if you wanted to stick to tags (although checking for Size.Medium Size.Large... would be tedius to write).
Mathias is online now   #2 Reply With Quote
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old October 13th, 2009, 12:23 PM
I get a compilation error:

Thing 'rDraFirWyr' - Condition phase/priority (UserPreLv/10000) for bootstrap thing 'wTentacle' occurs after earliest rule/script (First/600)
Thing 'rDraFirWyr' - Condition phase/priority (UserPreLv/10000) for bootstrap thing 'wSlam' occurs after earliest rule/script (First/600)
Lawful_g is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old October 13th, 2009, 01:29 PM
I think you may have to write the different size categories as different races, then. Because some script in the weapon runs at First/600, and you don't know the character's size until First/10000, so you can't make a successful test until after the scripts on the weapon have to begin running.

P.S. for conditions, you should always put them as soon as possible after whtever they depend on. First/10500 for example, in this case. Unfortunately, not even that's enough.
Mathias is online now   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old October 13th, 2009, 01:32 PM
A workaround may be to not assign the wMain.? tags in the weapon bootstrap - assign them using a script at First/10500. I think that without a damage tag, the damage will be displayed as a dash. So, the attacks will still appear in the list, but they won't have a damage until the dragon is big enough.
Mathias is online now   #5 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:27 PM.


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