Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - D&D 5th Edition SRD

Notices

Reply
 
Thread Tools Display Modes
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old June 27th, 2021, 08:45 AM
I have a background Prerequisite that requires either the dwarf race or the subrace: Moon Elf, But I can't seem to get the subrace to work.
How do I go about writing it to look for the dwarf or the Moon Elf (Subrace).
Thanks for any assistance.

Last edited by jbearwillis; June 27th, 2021 at 08:47 AM.
jbearwillis is offline   #1 Reply With Quote
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old July 9th, 2021, 10:47 AM
LOL, is Everyone on Vacation, or does no one have an answer? LOL, it just seems very quiet in the D&D 5e forum lately.... LOL, kind of eerie not hearing much chatter here...
jbearwillis is offline   #2 Reply With Quote
dungeonguru
Senior Member
 
Join Date: May 2016
Posts: 608

Old July 10th, 2021, 06:18 AM
Personally I've been out in the sticks without internet for a month.

I think you can try two approaches here.

1. Use the #hasability[XXX] macro. This returns a 1 or 0 depending on if the ability is bootstrapped. It runs late in timing though so I'm not sure you would want it in a background check.

ex. if (#hasability[raDarkElf] = 1) then

2. use the hero.childlives[XXX] property.

ex. if (hero.childlives[XXX] <> 0) then


You can actually use these in an exprreq statement on the background like the tiefling abilities do over on the racial abilities.

#hasrace[rDwarf] + #hasability[raMoonElf] <> 0

would test if the hero had either the dwarf race or moon elf subrace - if raMoonElf is the ID of the Moon Elf subrace.
dungeonguru is offline   #3 Reply With Quote
jbearwillis
Senior Member
 
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797

Old July 10th, 2021, 07:16 PM
Dungeonguru, Thank you so much, I was just joking around about not being answered. I haven't ever seen it so quiet on the D&D 5e forums, just noticed several questions put up and no one was answering. Then thought about it being summer and people going on vacation, since they weren't able to last summer, so Thanks again for the help....
jbearwillis is offline   #4 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 03:38 AM.


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