sorcery  Diff

Differences From Artifact [2d770c6227]:

To Artifact [f6d0b8e638]:


   466    466   			if div.restrict and not div.restrict(ctx) then
   467    467   				return false
   468    468   			end
   469    469   
   470    470   			local dst
   471    471   			local bonus = math.floor(ctx.stats.power or 1) 
   472    472   			if div.mode == 'any' then
   473         -				local lst = sorcery.lib.tbl.cshuf(div.give)
          473  +				local lst = sorcery.lib.tbl.scramble(div.give)
   474    474   				dst = function(i) return lst[i] end
   475    475   			elseif div.mode == 'random' then
   476    476   				dst = function() return tblroll(bonus,div.give) end
   477    477   			elseif div.mode == 'set' then
   478    478   				dst = function(i) return div.give[i] end
   479    479   			elseif div.mode == 'all' then
   480    480   				dst = function() return div.give end