I am working on a thing and I can't figure out the coding. What it is supposed to do is allow you to select from level 0 wizard spells and allow you to cast it 3/day as a spell-like ability. It would then attach that id into the SpInfo tag for the spell to show up in the description.
This is what I have so far:
Code:
var spell as string
var cast as string
var info as string
spell = tagis[sClass.Wizard] & tagis[sLevel.0]
field[usrCandid1].text = "thingid." & spell
cast = field[usrChosen1].chosen.tagis[thingid.?]
info = "SpInfo." & cast
perform assignstr[info]
My problem is in trying to define "spell." Any advice?