Made initiative a skill of type "check" instead of a modifier

This commit is contained in:
Stefan Zermatten
2019-02-27 16:08:20 +02:00
parent 4e7c0c5a90
commit 8772e539da
4 changed files with 20 additions and 3 deletions

View File

@@ -39,6 +39,14 @@
/>
</div>
<div v-for="check in checks" class="check" :key="check._id">
<attribute-card modifier
v-bind="check"
:data-id="check._id"
@click="clickSkill({_id: check._id})"
/>
</div>
<div class="hit-dice">
<v-card>
<v-list>
@@ -212,6 +220,14 @@
}
});
},
checks(){
return Skills.find({
charId: this.charId,
type: 'check',
}, {
sort: {order: 1},
});
},
savingThrows(){
return Skills.find({
charId: this.charId,