From 0a540bef731d3f34399b194a95efa6e50e6ab48d Mon Sep 17 00:00:00 2001
From: Eric Wykoff <ericwykoff@yahoo.com>
Date: Wed, 1 Apr 2015 08:08:16 -0500
Subject: [PATCH] fixed anomaly turn procs

---
 game/modules/tome/class/Actor.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/game/modules/tome/class/Actor.lua b/game/modules/tome/class/Actor.lua
index 04cd8aa6fa..77bab586cb 100644
--- a/game/modules/tome/class/Actor.lua
+++ b/game/modules/tome/class/Actor.lua
@@ -4338,8 +4338,8 @@ function _M:paradoxDoAnomaly(chance, paradox, def)
 	-- See if we create an anomaly
 	if not game.zone.no_anomalies and not self:attr("no_paradox_fail") then
 		-- This is so players can't chain cancel out of targeting to trigger anomalies on purpose, we clear it out in postUse
-		if not chance == 100 and self.turn_procs.anomalies_checked then return false end  
-		if not chance == 100 then self.turn_procs.anomalies_checked = true end
+		if chance ~= 100 and self.turn_procs.anomalies_checked then return false end  
+		if chance ~= 100 then self.turn_procs.anomalies_checked = true end
 
 		if rng.percent(chance) then
 			local anomaly_triggered = true
-- 
GitLab