From ef26a534424de436de2c6d87801ca1f100d3370c Mon Sep 17 00:00:00 2001 From: midnightblue <chibi_cheese2@yahoo.com> Date: Wed, 7 Mar 2018 17:42:45 -0500 Subject: [PATCH] corrected logic for corrective eyewear. --- src/utility/assayWidgets.tw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utility/assayWidgets.tw b/src/utility/assayWidgets.tw index 8ef6a674559..2f9efc0e72b 100644 --- a/src/utility/assayWidgets.tw +++ b/src/utility/assayWidgets.tw @@ -1540,7 +1540,7 @@ <<if !canSee($args[0])>> <<set $deadliness -= 8>> -<<elseif ($args[0].eyes == -1 && ($args[0].eyewear != "corrective glasses" || $args[0].eyewear != "corrective contacts")) || ($args[0].eyes == 1 && ($args[0].eyewear == "blurring glasses" || $args[0].eyewear == "blurring contacts"))>> +<<elseif (($args[0].eyes == -1) && ($args[0].eyewear != "corrective glasses") && ($args[0].eyewear != "corrective contacts")) || ($args[0].eyes == 1 && ($args[0].eyewear == "blurring glasses" || $args[0].eyewear == "blurring contacts"))>> <<set $deadliness -= 1>> <</if>> -- GitLab