View Single Post
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old November 13th, 2007, 03:43 PM
Lawful_g wrote:
>
>
> 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?


Sorry for the confusion - it should be WizForbid.Transmutat. I'll make a
note that this should be explained better / more intuitive in future.


--
Colen McAlister, colen@wolflair.com
Chief Engineer, Lone Wolf Development
Colen is offline   #9 Reply With Quote