From 026acc0d3475ef997c5645abc78034bdcf25ba8e Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Sun, 26 May 2013 14:33:59 +0000
Subject: [PATCH] Leveling up/down Mimic removes the effect

git-svn-id: http://svn.net-core.org/repos/t-engine4@6778 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/modules/tome/data/talents/cursed/predator.lua | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/game/modules/tome/data/talents/cursed/predator.lua b/game/modules/tome/data/talents/cursed/predator.lua
index 38c867ff11..b0312609fd 100644
--- a/game/modules/tome/data/talents/cursed/predator.lua
+++ b/game/modules/tome/data/talents/cursed/predator.lua
@@ -173,8 +173,10 @@ newTalent{
 		return math.min(35, math.pow(self:getTalentLevel(t), 0.7) * 7)
 	end,
 	on_learn = function(self, t)
+		self:removeEffect(self.EFF_MIMIC, true, true)
 	end,
 	on_unlearn = function(self, t)
+		self:removeEffect(self.EFF_MIMIC, true, true)
 	end,
 	info = function(self, t)
 		local maxIncrease = t.getMaxIncrease(self, t)
-- 
GitLab