Using defined spells for custom expression
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:
|
I would think you'd want your usrCandid1 field to look like this:
Code:
component.BaseSpell & sClass.Wizard & sLevel.0 & !Helper.Obsolete |
Got that working but for some reason it isn't assigning the SpInfo tag to the ability.
|
Quote:
Example: Code:
var spell as string |
Quote:
Code:
var disc as string |
Quote:
http://forums.wolflair.com/showthread.php?t=21688 Not everything applies to d20, but it should help you better understand some of the mechanics. Basically, though, this is what those two lines do: Quote:
Quote:
disc = User.TagID trunc = length(disc)-4 [10 characters -4 = 6] disc = right(disc, trunc) [6 characters starting from right = ".TagID" |
Got it to work properly. Thank you :)
|
Quote:
Code:
var disc as string |
All times are GMT -8. The time now is 01:05 PM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.