From d61124224289df4dc373d3b2d3fc6f59f333af79 Mon Sep 17 00:00:00 2001
From: yutio888 <yutio888@qq.com>
Date: Thu, 22 Jul 2021 15:08:02 +0800
Subject: [PATCH] Stormshield rune's block nb and threshold should be an
 integer

---
 game/modules/tome/data/talents/misc/inscriptions.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/game/modules/tome/data/talents/misc/inscriptions.lua b/game/modules/tome/data/talents/misc/inscriptions.lua
index 3aaa87c5f0..26d0659eb7 100644
--- a/game/modules/tome/data/talents/misc/inscriptions.lua
+++ b/game/modules/tome/data/talents/misc/inscriptions.lua
@@ -751,11 +751,11 @@ newInscription{
 	end,
 	getThreshold = function(self, t) 
 		local data = self:getInscriptionData(t.short_name)
-		return data.threshold
+		return math.round(data.threshold)
 	end,
 	getBlocks = function(self, t) 
 		local data = self:getInscriptionData(t.short_name)
-		return data.blocks + data.inc_stat
+		return math.round(data.blocks + data.inc_stat)
 	end,
 	action = function(self, t)
 		local data = self:getInscriptionData(t.short_name)
-- 
GitLab