Open Augshea opened 2 years ago
If I do that, the button does not work properly, but only reports the action:
/w @{character_name} &{template:npcaction} {{description=**Cantrips:**
[Eldritch Blast](`~repeating_spell-cantrip_-MbE5NNsjI01SwObuGEI_spell)}}
Only returns:
~repeating_spell-cantrip_-MbE5NNsjI01SwObuGEI_spell
in chat.
Rows 218 & 223, for the Spells Chat Menu Attribute, you are using an atk template, but that leaves a little sliver of the non-existent text in the first of the two boxes created with the atk template. If you use a desc template, there is only one box and all you have to do to keep the links as text rather than buttons is place a back tick (`) right before the tilde (~) on row 174!
Row 174 apiButton = "[" + s.get('current') + "](`~repeatingspell-" + level + "" + s.get('name').split('_')[2] + "_spell)"; Row 218 action: "/w @{character_name} &{template:desc} {{desc=" + spellText + "}}" Row 223 action: "/w @{character_name} &{template:desc} {{desc=" + spellText + "}}",