QuteSpell
Pf2eTools Spell attributes (spell2md.txt)
Extension of Pf2eQuteBase
Attributes
PermalinkaltNames, amp, books, castDuration, components, cost, domains, duration, formattedComponents, getAliases, hasSections, heightened, labeledSource, level, name, reprintOf, requirements, save, source, sourceAndPage, sourcesWithFootnote, spellLists, spellType, subclass, tags, targeting, text, traditions, traits, trigger, vaultPath
altNames
Permalinkamp
PermalinkPsi amp behavior as QuteSpellAmp
books
PermalinkList of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.
castDuration
PermalinkThe time it takes to cast the spell, as a QuteDataDuration which is either a QuteDataActivity or a QuteDataTimedDuration.
components
PermalinkThe required spell components as a list of formatted strings (maybe empty). Use QuteSpell#formattedComponents to get a pre-formatted representation.
cost
PermalinkThe material cost of the spell as a formatted string (optional)
domains
PermalinkList of spell domains (links)
duration
PermalinkSpell duration, as QuteDataTimedDuration
formattedComponents
PermalinkThe components required for the spell, as a formatted string. Example:
[somatic](#), [verbal](#)
getAliases
PermalinkAliases for this note, including the note name, as quoted/escaped strings.
Example values:
- "+1 All-Purpose Tool"
- "Carl "The Elder" Frost"
In templates:
aliases:
{#each resource.aliases}
- {it}
{/each}
hasSections
PermalinkTrue if the content (text) contains sections
heightened
PermalinkHeightened spell effects as a list of NamedText
labeledSource
PermalinkFormatted string describing the content's source(s): _Source: <sources>_
level
PermalinkA spell’s overall power, from 1 to 10.
name
PermalinkNote name
reprintOf
PermalinkList of content superceded by this note (as Reprinted)
requirements
PermalinkThe requirements to cast the spell (optional)
save
PermalinkSpell save, as QuteSpellSave
source
PermalinkString describing the content's source(s)
sourceAndPage
PermalinkBook sources as list of SourceAndPage
sourcesWithFootnote
PermalinkGet Sources as a footnote.
Calling this method will return an italicised string with the primary source followed by a footnote listing all other sources. Useful for types that tend to have many sources.
spellLists
PermalinkSpell lists containing this spell
spellType
PermalinkType: spell, cantrip, or focus
subclass
PermalinkList of category (Bloodline or Mystery) to Subclass (Sorcerer or Oracle). Link to class (if present) as a list of NamedText.
tags
PermalinkCollected tags for inclusion in frontmatter
targeting
PermalinkSpell target attributes as QuteSpellTarget
text
PermalinkFormatted text. For most templates, this is the bulk of the content.
traditions
PermalinkList of spell traditions (trait links)
traits
PermalinkCollection of traits (decorated links)
trigger
PermalinkThe activation trigger for the spell as a formatted string (optional)
vaultPath
PermalinkPath to this note in the vault