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)
-   -   Cantrips from Wizard List? (http://forums.wolflair.com/showthread.php?t=67868)

TCArknight June 28th, 2023 01:28 PM

Cantrips from Wizard List?
 
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

Fenris447 June 29th, 2023 06: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.

TCArknight June 30th, 2023 06:26 AM

Thank you! I'll check those out.

RavenX June 30th, 2023 07:04 PM

Quote:

Originally Posted by TCArknight (Post 301623)
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.


All times are GMT -8. The time now is 07:22 PM.

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