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
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old June 28th, 2023, 02:28 PM
Hi all!

I'm working on coding an ability that will give the user a choice of 2 Cantrips from the Wizard list.

They are a half-caster otherwise with their on spell list. How can I limit the Cantrips to the wizard list and not allow wizard spells for their normal selection?

(If I add sClass.cHelpWiz then cantrips and their normal spells can be chosen from Wizard spells. )

Thanks!
TC

Working on -
  • (SWADE) WIP Savage Rifts
  • Savage Rifts (Deluxe): Update link in This post
  • Star Trek Adventures: Update link in This post
TCArknight is offline   #1 Reply With Quote
Fenris447
Senior Member
 
Join Date: Sep 2017
Posts: 597

Old June 29th, 2023, 07:49 PM
Check out the Druidic Warrior and Blessed Warrior features from Tasha's. They do something similar, providing a half-caster with 2 cantrips from a particular full-caster's spell list.

Found an issue with or have a suggestion for the 5e Community Pack? Please post it here at our GitHub.

Feel free to stop by the Lone Wolf Development Subreddit, for discussion of any and all LWD products and community efforts!
Fenris447 is offline   #2 Reply With Quote
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321

Old June 30th, 2023, 07:26 AM
Thank you! I'll check those out.

Working on -
  • (SWADE) WIP Savage Rifts
  • Savage Rifts (Deluxe): Update link in This post
  • Star Trek Adventures: Update link in This post
TCArknight is offline   #3 Reply With Quote
RavenX
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633

Old June 30th, 2023, 08:04 PM
Quote:
Originally Posted by TCArknight View Post
Hi all!

I'm working on coding an ability that will give the user a choice of 2 Cantrips from the Wizard list.

They are a half-caster otherwise with their on spell list. How can I limit the Cantrips to the wizard list and not allow wizard spells for their normal selection?

(If I add sClass.cHelpWiz then cantrips and their normal spells can be chosen from Wizard spells. )

Thanks!
TC
I don't know how this is coded, but if I had to take a guess, something like adding & "(sClass.cHelpWiz & sLevel.0)" to the spell choice tag expression would do you. I think you need to use parenthesis to force it to just give cantrips. Remember the symbols are boolean operators. An "|" between the cHelpWis and sLevel would be "or", but putting an ampersand between them means "and". If you want both conditions required, you gotta use the and symbol to force it to do what you want in the tag expression.

RavenX Pronouns: She/Her

Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you.

I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all.

Last edited by RavenX; June 30th, 2023 at 08:23 PM.
RavenX 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 07:50 AM.


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