{{ "spells.header.cost" | translate }}
{{ "spells.header.name" | translate }}
{{ "spells.header.level" | translate }}
{{ "spells.header.bonus" | translate }}
{{ "spells.header.effect" | translate }}
{{ "spells.header.range" | translate }}
@for (spell of spells; let index = $index; track spell) {
} @empty {
{{ "spells.empty" | translate }}
}
@if (spell.cost === "action") { A } @if (spell.cost === "bonus") { B } @if (spell.cost === "reaction") { R }
@if (translate.getDefaultLang() == "de") { {{ spell.german }} } @else { {{ spell.english }} }
@if (spell.needsConcentration) { {{ "spells.concentrationAbbr" | translate }} | } @if (spell.needsVerbal) { {{ "spells.components.verbal" | translate }} } @if (spell.needsSomatic) { {{ "spells.components.somatic" | translate }} } @if (spell.needsMaterial) { {{ "spells.components.material" | translate }} }
@if (spell.level !== 0) {
{{ spell.level }}
} @if (spell.level === 0) {
{{ "spells.cantrip" | translate }}
}
@if (spell.needsSavingThrow) {
{{ "attributesAbbreviations." + spell.savingThrowAttribute | translate }}
{{ utils.spellSaveDC }}
} @else if (spell.needsAttackRoll) {
{{ utils.spellAttackModifier }}
} @else {
-
}
@if (spell.doesDamage) { @for (damage of spell.damage; track damage; let index = $index) {
{{ damage.diceNumber }} {{ "general.dice" | translate }}{{ damage.diceType }}
} } @else if (spell.doesHeal) {
{{ spell.heal.diceNumber }} {{ "general.dice" | translate }}{{ spell.heal.diceType }} @if (spell.heal.additionalHeal) { +{{ spell.heal.additionalHeal }} }
} @else {
-
}
@if (spell.isRanged) {
{{ spell.range }} ft.
} @else if (spell.range === 0) {
{{ "spells.self" | translate }}
} @else if (spell.range === 5) {
{{ "spells.touch" | translate }}
} @if (spell.hasAreaOfEffect) {
{{ spell.length }} ft.
}