diff --git a/.eslintrc.js b/.eslintrc.js index f85257d..74a00a9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -16,6 +16,7 @@ module.exports = { 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-useless-constructor': 'off', '@typescript-eslint/no-unused-vars': 'off', - 'quotes': 'off' + 'quotes': 'off', + 'function-paren-newline': ['error', 'multiline-arguments'] } } diff --git a/src/App.vue b/src/App.vue index 09c51d3..3d7d46a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -73,7 +73,8 @@ export default class App extends Vue { this.left = fighter this.right = new Creatures.Withers() - this.combatants = [this.left, this.right, wizard, rogue, cleric] + const kenzie = new Creatures.Kenzie() + this.combatants = [this.left, this.right, wizard, rogue, cleric, kenzie] console.log(this.left) console.log(this.right) } diff --git a/src/components/Combat.vue b/src/components/Combat.vue index ab92981..8abba78 100644 --- a/src/components/Combat.vue +++ b/src/components/Combat.vue @@ -1,10 +1,10 @@