• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Background Prerequisite

jbearwillis

Well-known member
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:
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...
 
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, 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....
 
Back
Top