
I'm working on a spellbook macro for D&D 5e with the OGL character sheet and I want to pull info about spells to display with the macro but I can't seem to find any variables that reference spells directly.
spell index ($X) how do you use this?Kyle G. said:
Here is a list of all of the suffixes for spells in the character sheet. Each one of these is an individual attribute of the spell and can be accessed with either the spell index ($X) or row id. (For example, repeating_spell-1-$0_spellname).
_spellathigherlevels
_spellattackid
_spellattackinfoflag
_spellattack
_spellcastingtime
_spellcomp
_spellcomp_v
_spellcomp_s
_spellcomp_m
_spellcomp_materials
_spellconcentrationflag
_spellconcentration
_spellcontent
_spell_damage_progression
_spelldamage
_spelldamagetype
_spelldescription
_spellduration
_spelllevel
_spellname_base
_spellname
_options-flag
_spelloutput
_prep
_spellrange
_rollcontent
_spellschool