From ec8ccbd53fadb12453f4d0e7835ea559cefc1fd1 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Wed, 12 Aug 2020 21:37:03 -0400 Subject: [PATCH] Add a new test type for general opposed stat tests The test can compare one or more of the user's stats against one or more of the target's stats. This is explained by the test. --- src/components/ActionButton.vue | 2 +- src/game/combat.ts | 16 +++++- src/game/combat/tests.ts | 91 ++++++++++++++++++++++++++++++++- src/game/creatures/player.ts | 39 +++++++++++++- 4 files changed, 143 insertions(+), 5 deletions(-) diff --git a/src/components/ActionButton.vue b/src/components/ActionButton.vue index 154b7a1..e86e20d 100644 --- a/src/components/ActionButton.vue +++ b/src/components/ActionButton.vue @@ -1,5 +1,5 @@