View Single Post
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old March 7th, 2024, 03:10 PM
For what it's worth, using a foreach loop could also work for the problem you're trying to solve. When you write:

Code:
foreach pick in hero from BaseSpell
for example, this searches through the character and finds all the things that are spells. This would allow you to generate a list of all spells. If you wanted to narrow it down, you could do:

Code:
foreach pick in hero from BaseSpell where "Helper.InSpellbk & Spellbook.cHelpWiz"
This looks for all spells with those specific tags. You should then be able to generate a list of spell names and add them to the description.
Sendric is offline   #7 Reply With Quote