Senior Member
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797
|
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. |
#1 |
Senior Member
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797
|
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...
|
#2 |
Senior Member
Join Date: May 2016
Posts: 608
|
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. |
#3 |
Senior Member
Join Date: Dec 2009
Location: Independence, Mo
Posts: 797
|
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....
|
#4 |
|
|