Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You should be able to select the custom abilities the same way you select other things on a class special. What are you using for the "Custom Expression"?
You could probably set up a pre-req to foreach through the spells on the hero, looking for the appropriate spell and that it is memorized (rather than a spell like ability or a known spell for a spontaneous caster).
This part:
"Spellbook.cHelpTBC & thingid.spDMABT"
Is a tag expression, so you can set it up to look for any combination of tags. You want to use "|" which means "or".
Try:
Spellbook.cHelpTBS | Spellbook.cHelpTBC & thingid.spDMABT
You can right-click error messages in Hero Lab and copy them, then paste them here. I think specifics would be helpful in this case.
I'm not sure what priority the 'ors' and 'ands' get, but it might be worth trying:
"Spellbook.cHelpTBC & thingid.spDMABT | Spellbook.cHelpTBS & thingid.spDMABT"
just to see if that fixes it.
alternatively, you could try a pair of foreach statements that would basically accomplish the same thing:
foreach pick in hero from BaseSpell where "Spellbook.cHelpTBC | Spellbook.cHelpTBS"
foreach pick in hero from BaseSpell where "thingid.spDMABT"
@valid = 1
nexteach
nexteach
I'm not sure what priority the 'ors' and 'ands' get
(A | B) & (C | D)
IIRC, you *can* use parentheses around terms of an expression to group them and clearly prioritize their evaluation. So the following will "and" the results of the two separate "or" operations.
Code:(A | B) & (C | D)
Hope this helps...