View Single Post
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old November 10th, 2007, 02:45 PM
Alright. I think I figured out how to add a tag to a hero thanks to some code in the Centaur race, but there is one spell school I can't get it to work for, Transmutation. I've tried all the forms and shortenings of Transmutation that I can think of but all ot them give me an error.

I had a similar problem with Abjuration, but after searching around in the "Find Thing" Screen I discovered the abbreviations for spell schools, specialized schools, and forbidden schools that gave me the correct abbreviation of "Abjur". According to these lists the shortening of Transmutation should be "Trans" but that isn't working either. Here is the code I am using

Phase=First Priority=100
var result as number
result = hero.assign[WizForbid.Trans]

Anything wrong with that?
Lawful_g is offline   #3 Reply With Quote