Attributes of type spell slot now store their slot level

This commit is contained in:
Stefan Zermatten
2020-06-23 01:36:21 +02:00
parent c44aeac198
commit e572807082
3 changed files with 33 additions and 2 deletions

View File

@@ -47,6 +47,14 @@
:menu-props="{auto: true, lazy: true}"
@change="change('hitDiceSize', ...arguments)"
/>
<text-field
v-if="model.attributeType === 'spellSlot'"
label="Spell slot level"
:value="model.spellSlotLevelCalculation"
:error-messages="errors.spellSlotLevelCalculation"
@change="change('spellSlotLevelCalculation', ...arguments)"
/>
<calculation-error-list :errors="model.spellSlotLevelErrors" />
<text-area
label="Description"
:value="model.description"