Commit c766b28bff8562c2d7a90a713384cb681983d77c

Authored by yutio888
1 parent d6112422

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

... ... @@ -751,11 +751,11 @@ newInscription{
751 751 end,
752 752 getThreshold = function(self, t)
753 753 local data = self:getInscriptionData(t.short_name)
754   - return math.round(data.threshold)
  754 + return math.ceil(data.threshold)
755 755 end,
756 756 getBlocks = function(self, t)
757 757 local data = self:getInscriptionData(t.short_name)
758   - return math.round(data.blocks + data.inc_stat)
  758 + return math.ceil(data.blocks + data.inc_stat)
759 759 end,
760 760 action = function(self, t)
761 761 local data = self:getInscriptionData(t.short_name)
... ...