QuteSpell
5eTools spell attributes (spell2md.txt)
Extension of Tools5eQuteBase.
Attributes
PermalinkabilityChecks, affectsCreatureTypes, areaTags, backgrounds, books, classList, classes, components, conditionImmune, conditionInflict, damageImmune, damageInflict, damageResist, damageVulnerable, duration, feats, fluffImages, getAliases, hasImages, hasMoreImages, hasSections, higherLevels, labeledSource, level, miscTags, name, optionalfeatures, races, range, references, reprintOf, ritual, savingThrows, scalingLevelDice, school, showAllImages, showMoreImages, showPortraitImage, source, sourceAndPage, sourcesWithFootnote, spellAttacks, tags, text, time, vaultPath
abilityChecks
PermalinkFormatted: Ability checks
affectsCreatureTypes
PermalinkFormatted: Creature types
areaTags
PermalinkFormatted/mapped: Areas
backgrounds
PermalinkString: rendered list of links to classes that grant access to this spell. May be incomplete or empty.
books
PermalinkList of source books using abbreviated name. Fantasy statblocks uses this list format, as an example.
classList
PermalinkList of class names (not links) that can use this spell.
classes
PermalinkString: rendered list of links to classes that can use this spell. May be incomplete or empty.
components
PermalinkFormatted: spell components
conditionImmune
PermalinkFormatted: Condition immunities
conditionInflict
PermalinkFormatted: Conditions
damageImmune
PermalinkFormatted: Damage immunities
damageInflict
PermalinkFormatted: Damage types
damageResist
PermalinkFormatted: Damage resistances
damageVulnerable
PermalinkFormatted: Damage vulnerabilities
duration
PermalinkFormatted: spell range
feats
PermalinkString: rendered list of links to feats that grant acccess to this spell. May be incomplete or empty.
fluffImages
PermalinkList of images as ImageRef (optional)
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}
hasImages
PermalinkReturn true if any images are present
hasMoreImages
PermalinkReturn true if more than one image is present
hasSections
PermalinkTrue if the content (text) contains sections
higherLevels
PermalinkAt higher levels text
labeledSource
PermalinkFormatted string describing the content's source(s): _Source: <sources>_
level
PermalinkSpell level
miscTags
PermalinkFormatted/mapped: Misc tags
name
PermalinkNote name
optionalfeatures
PermalinkString: rendered list of links to optional features that grant access to this spell. May be incomplete or empty.
races
PermalinkString: rendered list of links to races that can use this spell. May be incomplete or empty.
range
PermalinkFormatted: spell range
references
PermalinkList of links to resources (classes, subclasses, feats, etc.) that have access to this spell
reprintOf
PermalinkList of content superceded by this note (as Reprinted)
ritual
Permalinktrue for ritual spells
savingThrows
PermalinkFormatted: Saving throws
scalingLevelDice
PermalinkFormatted: Scaling damage dice entries
school
PermalinkSpell school
showAllImages
PermalinkReturn embedded wikilinks for all images If there is more than one, they will be displayed in a gallery.
showMoreImages
PermalinkReturn embedded wikilinks for all but the first image If there is more than one, they will be displayed in a gallery.
showPortraitImage
PermalinkReturn an embedded wikilink to the first image Will have the "right" anchor tag.
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.
spellAttacks
PermalinkFormatted: Spell attack forms
tags
PermalinkCollected tags for inclusion in frontmatter
text
PermalinkFormatted text. For most templates, this is the bulk of the content.
time
PermalinkFormatted: casting time
vaultPath
PermalinkPath to this note in the vault