View Single Post
Senior Member
Join Date: Feb 2013
Posts: 331

Old February 16th, 2021, 05:09 PM
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:
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?

I have a Patreon and PayPal. Donations are appreciated but are not mandatory. They are only to show support while I program stuff.

Last edited by Illyahr; February 16th, 2021 at 05:46 PM.
Illyahr is offline   #1 Reply With Quote