Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - D&D 5th Edition SRD (http://forums.wolflair.com/forumdisplay.php?f=89)
-   -   Background Prerequisite (http://forums.wolflair.com/showthread.php?t=66063)

jbearwillis June 27th, 2021 09:45 AM

Background Prerequisite
 
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.

jbearwillis July 9th, 2021 11: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...

dungeonguru July 10th, 2021 07: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.

jbearwillis July 10th, 2021 08: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....


All times are GMT -8. The time now is 08:58 PM.

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