Skip to content
Snippets Groups Projects
Commit d6112422 authored by yutio888's avatar yutio888
Browse files

Stormshield rune's block nb and threshold should be an integer

parent 123b0aef
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment