Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Illyahr
Senior Member
 
Join Date: Feb 2013
Posts: 324

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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:46 AM.


Powered by vBulletin® - Copyright ©2000 - 2021, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.