aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Pouar <pouar@pouar.net>2020-07-20 22:56:37 -0500
committerGravatar Pouar <pouar@pouar.net>2020-07-20 22:56:37 -0500
commit4cb048dadf422a9fb7baf8d2253ad55cd8a02db8 (patch)
tree008c160810628254d64b0ef3f7ea2d2150e4cb89
parentuse a macro for this (diff)
subtypes are supposed to count here
-rw-r--r--core/libexec.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/libexec.lisp b/core/libexec.lisp
index f8cc33b..a9fd5ab 100644
--- a/core/libexec.lisp
+++ b/core/libexec.lisp
@@ -3400,7 +3400,7 @@ randomrange is @code{(random-from-range 85 100)}"
0
(expt 2 (- super-effective not-very-effective)))
(if (find attack-element-type user-element-types
- :key 'coerce-element-type)
+ :key 'coerce-element-type :test 'subtypep)
1.5
1)))))))
(defun present-stats (user)