From 3b1ba3fe1aa950e3c7f8b60ae4c7f57df29ee17a Mon Sep 17 00:00:00 2001
From: otowakotori <806682153@qq.com>
Date: Wed, 9 Dec 2020 11:40:51 +0800
Subject: [PATCH] it had been moved to `callbackOnHit`

---
 game/modules/tome/class/Actor.lua | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/game/modules/tome/class/Actor.lua b/game/modules/tome/class/Actor.lua
index a5e8a78c58..3f34035da1 100644
--- a/game/modules/tome/class/Actor.lua
+++ b/game/modules/tome/class/Actor.lua
@@ -2594,16 +2594,6 @@ function _M:onTakeHit(value, src, death_note)
 		self.tempeffect_def[self.EFF_CURSED_FORM].do_onTakeHit(self, eff, value)
 	end
 
-	if value > 0 then
-		tal = self:isTalentActive(self.T_DEFLECTION)
-		if tal then
-			local oldval = value
-			value = self:callTalent(self.T_DEFLECTION, "do_onTakeHit", tal, value)
-			if value ~= oldval then
-				game:delayedLogDamage(src, self, 0, ("#SLATE#(%d deflected)#LAST#"):tformat(oldval - value), false)
-			end
-		end
-	end
 
 	-- Achievements
 	if not self.no_take_hit_achievements and src and src.resolveSource and src:resolveSource().player and value >= 600 then
-- 
GitLab