View Single Post
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 322

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:
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?

I have a Patreon and donations are appreciated. It is 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