View Single Post
dungeonguru
Senior Member
 
Join Date: May 2016
Posts: 608

Old October 21st, 2020, 02:18 PM
In order to narrow down a spell to a particular class you could probably look for the tags spells get from the selection portal.

Like the High Elf cantrip usually has the tag portal.RacSplLst where a wizard spell that is memorized on the Wizard Spells tab gets the tag portal.ClsSplMem3 (or at least that's what I remember).

Otherwise you might be able to look for things that don't have the Racial tags on them like Helper.RaceSpell.

You use these tags in your foreach where clause and you should be good. Just right click on spells in the UI and look at the tags and compare/contrast.
dungeonguru is offline   #12 Reply With Quote