Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
ynnswa
Member
 
Join Date: Jul 2010
Posts: 33

Old September 9th, 2011, 06:41 PM
This cannot be as difficult as I'm making it.

Here is the Class Special Ability I'm trying to create:

At 6th level, the nomad gains Diehard as a bonus feat. If he already has Diehard, he instead gains Toughness.

My searches through the forum have turned up a couple things that are a bit similar, but I can't seem to adapt them successfully. I thought that perhaps the best route would be to bootstrap both feats to the Special and then handle selection in the bootstrap conditions, but I don't know enough about writing containerreq statements to know if/how it would work.

Any thoughts would be appreciated.
ynnswa is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,455

Old September 10th, 2011, 12:45 AM
The way I've done this in the past is to not worry about whether it's there or not - if it is, the user can delete the manually-added copy, and handle the replacement themself.
Mathias is online now   #2 Reply With Quote
ynnswa
Member
 
Join Date: Jul 2010
Posts: 33

Old September 11th, 2011, 01:08 PM
I'd love to handle it that way and be done with it. Unfortunately, it's a special ability for three different classes, so in a multi-class situation there won't be a manual selection for the user to change.
ynnswa is offline   #3 Reply With Quote
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old September 16th, 2011, 01:07 PM
You could write an eval script that detects at an early phase and priority if either of those feats is present, if not then place a User.Whatever tag on the hero. Bootstrap the feats to the class ability with a condition that looks for that User tag before adding.
Lawful_g is offline   #4 Reply With Quote
ynnswa
Member
 
Join Date: Jul 2010
Posts: 33

Old September 16th, 2011, 03:29 PM
That worked perfectly. Thank you!
ynnswa is offline   #5 Reply With Quote
ynnswa
Member
 
Join Date: Jul 2010
Posts: 33

Old September 16th, 2011, 05:20 PM
Okay, I spoke too soon. I put an eval script on the class itself to assign the tag, and used the condition on the bootstrap to test for it, and that all worked like a charm. I wasn't thinking about the bootstrap condition that I replaced, however, which was the level test.

If I'm using the bootstrap condition to test for my own tag, how do I then make the feat wait until 3rd level to add to the character?
ynnswa is offline   #6 Reply With Quote
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old September 16th, 2011, 05:46 PM
Have the eval script that assigns the User tag count the number of Classes.? tags first. If there are 3 or more, then assign the User tag.
Lawful_g is offline   #7 Reply With Quote
Reply

Thread Tools
Display Modes

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:44 AM.


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