• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Adding Spell Information

spannclann

Well-known member
I am creating a magic weapon that allows a few spells to be cast. I am wanting these spells to print out on the character sheet, but I do not know how to get that done. I am trying to do it under

Tags > Group ID: SpInfo > Tag ID: sSpell

This should append the spell information of the listed spell onto the character sheet, but it does not seem to be working.
 
I think that the forum has lost a fair number of people who did coding. You could try asking in the Discord.
 
I unfortunately have zero knowledge of the printing stuff. SpInfo is how you get it to display in the program. If it's working when you look at it in Hero Lab and just not working on the print output, I got nothing. If it's not even showing up in Hero Lab, I'd double check you're using the correct spell ID. Some have been replaced with Community Pack counterparts, so that might be one issue.

My only other suggestion is the bad, obvious, stupid one: manually copy the spell info into the item's description.
 
I am creating a magic weapon that allows a few spells to be cast. I am wanting these spells to print out on the character sheet, but I do not know how to get that done. I am trying to do it under

Tags > Group ID: SpInfo > Tag ID: sSpell

This should append the spell information of the listed spell onto the character sheet, but it does not seem to be working.

The first step in printing anything out is to dump the xml via File -> Save Custom Output -> XML. If the data that you want is not in that XML, there is not much you can do.

Assuming that the data that you want is present in the XML, you'll need to either write your own XSL transform, or modify an existing transform to get what you need.
 
Back
Top