This repository has been archived on 2024-03-13. You can view files and clone it, but cannot push or open issues or pull requests.
timekeeper/components/SpellButton.vue

35 lines
489 B
Vue

<template>
<progress-button
:label="spell.name"
:description="spell.description"
:max="100"
:value="$store.state.mana"
:current="current"
:next="next"
@click="doAction"
/>
</template>
<script>
export default {
props: {
spell: { type: Object, required: true },
},
computed: {
current() {
//
return undefined
},
next() {
//
return undefined
},
},
methods: {
cast() {
//
},
},
}
</script>