From 40c1ff84a81b5689a81cf2568ce134d611a5089d Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sun, 26 Jul 2020 11:11:18 -0400 Subject: [PATCH] Add the wolf back; rewrite more language --- src/App.vue | 3 +- src/components/Combat.vue | 3 +- src/game/combat/effects.ts | 2 +- src/game/creatures/cafat.ts | 57 ++++++++++++----------------------- src/game/creatures/withers.ts | 2 +- src/game/creatures/wolf.ts | 57 +++++++++-------------------------- src/game/language.ts | 39 +++++------------------- src/game/words.ts | 9 ++++++ 8 files changed, 57 insertions(+), 115 deletions(-) diff --git a/src/App.vue b/src/App.vue index 8e521f8..d782fab 100644 --- a/src/App.vue +++ b/src/App.vue @@ -72,7 +72,8 @@ export default class App extends Vue { const withers = new Creatures.Withers() const kenzie = new Creatures.Kenzie() const cafat = new Creatures.Cafat() - this.combatants = [fighter, withers, wizard, rogue, cleric, kenzie, cafat] + const wolf = new Creatures.Wolf() + this.combatants = [fighter, withers, wizard, rogue, cleric, kenzie, cafat, wolf] } } diff --git a/src/components/Combat.vue b/src/components/Combat.vue index 2a59364..14ff23b 100644 --- a/src/components/Combat.vue +++ b/src/components/Combat.vue @@ -42,7 +42,8 @@