I am trying to implement the ability to append text after spell or spell-like ability that shows up as non-italicized text in the outputted statblock, but shows up in the summary in HL itself.
For example for the summon spell-like ability I want it to show
{i}summon{/i} (level xx, xxxx)
in the outputted statblock but only show Summon on the Spells tab.
Here is what I have so far, but it doesn't quite work.
This gives me but I want, but the added text is still showing up in italics in an outputted statblock.
For example for the summon spell-like ability I want it to show
{i}summon{/i} (level xx, xxxx)
in the outputted statblock but only show Summon on the Spells tab.
Here is what I have so far, but it doesn't quite work.
Code:
Final/10000
~ abValue is the summon level
~ abText is the additional text for summon
~ set description
var summ as string
summ = "level " & field[abValue].value & ", " & field[abText].text
~ amend name for output
perform state.thing[xCBSummon].amendthing[name, "Summon {revert}("& summ &")"]
~ prepend description for in play
perform state.thing[xCBSummon].amendthing[description, "{align center}{b}" & summ & "{/b}{br}{br}{align left}" & state.thing[xCBSummon].field[descript].text]
This gives me but I want, but the added text is still showing up in italics in an outputted statblock.
Last edited: